vision_analyze timeouts and configurable timeout settings
Cluster 2107 · agent · Bug. Data as of
1 open item. Fix merged in #2480 on 22 Mar 2026. Check it covers your case.
The short answer
- Known?
- Yes. 9 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #2480. Check it covers your case. No release data is tracked. Fix link checked: 22 Mar 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event.
Next step: read #2480, then check whether your report is the one still open.
Read #2480Pick up a Lab taskMost members concern vision_analyze timing out on local images or slow local models, with several proposals to make the timeout configurable or adjust payload handling. One member, about forwarding fallback_providers extra_body during fallback activation, appears unrelated to the vision timeout theme.
Open issues1
- Issue#8120[Bug]: vision_analyze frequently times out when analyzing local images in WSL2
Open PRs0
Fixes on record
-
#2480 fix: make vision_analyze timeout configurable via config.yaml (salvage #2306)
files:
hermes_cli/config.py,tools/vision_tools.py,website/docs/user-guide/configuration.mdShow the diff
-
hermes_cli/config.py@@ -182,6 +182,7 @@ def ensure_hermes_home(): "model": "", # e.g. "google/gemini-2.5-flash", "gpt-4o" "base_url": "", # direct OpenAI-compatible endpoint (takes precedence over provider) "api_key": "", # API key for base_url (falls back to OPENAI_API_KEY) + "timeout": 30, # seconds — increase for slow local vision models }, "web_extract": { "provider": "auto", -
tools/vision_tools.py@@ -298,12 +298,23 @@ async def vision_analyze_tool( logger.info("Processing image with vision model...") - # Call the vision API via centralized router + # Call the vision API via centralized router. + # Read timeout from config.yaml (auxiliary.vision.timeout), default 30s. + vision_timeout = 30.0 + try: + from hermes_cli.config import load_config + _cfg = load_config() + _vt = _cfg.get("auxiliary", {}).get("vision", {}).get("timeout") + if _vt is not None: + vision_timeout = float(_vt) + except Exception: + pass call_kwargs = { "task": "vision", "messages": messages, "temperature": 0.1, "max_tokens": 2000, + "timeout": vision_timeout, } if model: call_kwargs["model"] = model -
website/docs/user-guide/configuration.md@@ -907,6 +907,7 @@ auxiliary: model: "" # e.g. "openai/gpt-4o", "google/gemini-2.5-flash" base_url: "" # Custom OpenAI-compatible endpoint (overrides provider) api_key: "" # API key for base_url (falls back to OPENAI_API_KEY) + timeout: 30 # seconds — increase for slow local vision models # Web page summarization + browser page text extraction web_extract:
-
6 PRs closed without merging
From the close comments: done elsewhere 2 · duplicate 1 · merged via another change 1 · stale or abandoned 1 · other 1
-
#2126 fix(vision): make timeout configurable via HERMES_VISION_TIMEOUT_SECONDS · duplicate →
#2306 - #2257 fix(vision): increase LLM timeout for vision_analyze to support local models · other
-
#2306 fix: make vision_analyze timeout configurable · merged via another change →
#2480 - #8168 fix: prevent vision_analyze timeouts on larger local images · done elsewhere
- #26483 fix(agent): forward fallback_providers[].extra_body during fallback activation (#26460) · stale or abandoned
Show 1 more
-
#129734 fix(vision): bound the aux vision payload before the request, not after a provider rejection · done elsewhere →
fe52e62
Closed issues · 1
- Closed#2107[Bug]: `vision_analyze` on a slow enough local model will timeout due to default 30s timout
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.20: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.