enforce_turn_budget crash on multimodal tool results

NousResearch/hermes-agent · cluster 126945 · agent

Data as of

Nothing open on GitHub. Fix merged in #133815. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #133815. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where enforce_turn_budget incorrectly treats multimodal tool results as strings, causing an AttributeError. The associated fixes make the function skip multimodal results and count only text parts.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #133815 Vision models see MCP image results; every image tool honours image_input_mode (salvage #131374)

    merged to main

    files: agent/tool_dispatch_helpers.py, agent/tool_executor.py, contributors/emails/[redacted:email], tests/agent/test_tool_dispatch_helpers.py, tests/computer_use/test_cua_perf_knobs.py, tests/tools/test_computer_use_capture_routing.py, tests/tools/test_computer_use_vision_routing.py, tests/tools/test_mcp_image_content.py, tests/tools/test_multiplex_tool_cache_scope.py, tests/tools/test_tool_result_storage.py, tools/AGENTS.md, tools/computer_use/tool.py, tools/computer_use/vision_routing.py, tools/mcp_tool_content.py, tools/mcp_tool_handlers.py, tools/mcp_tool_registration.py, tools/tool_result_storage.py, tools/vision_tools.py, website/docs/user-guide/features/mcp.md, website/docs/user-guide/features/vision.md

3 PRs closed without merging

From the close comments: done elsewhere 2 · superseded by another PR 1

  • #126954 fix(tools): enforce_turn_budget skips multimodal results, counts text parts · done elsewhere → a3ab152, #126945, #133815
  • #127119 fix(tools): enforce_turn_budget skips multimodal results, counts text parts · superseded by another PR → #127159
  • #127159 fix(tools): enforce_turn_budget skips multimodal results, counts text parts · done elsewhere → a3ab152, #126945, #133815
Closed issues · 1
  • Closed#126945[Bug] `enforce_turn_budget` treats a multimodal tool result as a string and crashes the turn with `AttributeError`
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#133815
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
7 Oct 2026

For your agent

The same facts, typed.