mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
docs(web_tools): correct web_extract summarizer timeout comment
The comment at tools/web_tools.py:700-702 stated the runtime default for auxiliary.web_extract.timeout is 360s. The actual runtime default is 30s (_DEFAULT_AUX_TIMEOUT in agent/auxiliary_client.py:3140), used by _get_task_timeout when no auxiliary.web_extract.timeout key is present in config.yaml. The 360s figure is the config template default written by hermes_cli/config.py:697 into freshly-generated config.yaml files. It only takes effect when that key exists in the user's config — not as a fallback. Users on configs that predate commit20b4060d(Apr 5, 2026), or who removed the key, fall through to the 30s _DEFAULT_AUX_TIMEOUT runtime default. The comment was introduced in20b4060dalongside the template-default bump from 30 to 360. The runtime default in auxiliary_client.py was not changed in that commit and has remained 30s since839d9d74(Mar 28, 2026).
This commit is contained in:
parent
3b750715a3
commit
a6289927d3
1 changed files with 4 additions and 2 deletions
|
|
@ -698,8 +698,10 @@ Create a markdown summary that captures all key information in a well-organized,
|
|||
"temperature": 0.1,
|
||||
"max_tokens": max_tokens,
|
||||
# No explicit timeout — async_call_llm reads auxiliary.web_extract.timeout
|
||||
# from config (default 360s / 6min). Users with slow local models can
|
||||
# increase it in config.yaml.
|
||||
# from config.yaml. Fresh configs ship with 360s; if the key is absent
|
||||
# the runtime default is 30s (_DEFAULT_AUX_TIMEOUT in
|
||||
# agent/auxiliary_client.py). Users with slow local models should set
|
||||
# or increase auxiliary.web_extract.timeout in config.yaml.
|
||||
}
|
||||
if extra_body:
|
||||
call_kwargs["extra_body"] = extra_body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue