# NousResearch/hermes-agent · Tool-result image handling for vision-limited providers

## Open now

- 1 issue, 2 PRs open on GitHub.
- #107476: \[Bug\]: CommandCode profile reports tool-result vision it doesn't have — native vision flag kills the session with a non-retryable 400
- PR #107487: fix(commandcode): veto list-type vision in tool results
- PR #108954: feat(vision): relocate tool-result images into a user message for tool-media-rejecting providers

These items address a bug and related fixes where tool-result images cause errors with providers that do not support vision in tool results, including relocating such images to user messages and vetoing list-type vision in tool results for CommandCode.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #107476: \[Bug\]: CommandCode profile reports tool-result vision it doesn't have — native vision flag kills the session with a non-retryable 400

## Prior & competing PRs

- **#107487: fix(commandcode): veto list-type vision in tool results**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a6280fa08f970a911f51b9eb03722eca7888d734`, `#107487`, `#107476`, `#107468`
  - files: `plugins/model-providers/commandcode/__init__.py`, `tests/plugins/model_providers/test_commandcode_profile.py`, `tests/tools/test_vision_native_fast_path.py`
- **#108954: feat(vision): relocate tool-result images into a user message for tool-media-rejecting providers**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/chat_completion_helpers.py`, `agent/error_classifier.py`, `agent/turn_recovery.py`, `agent/turn_request_assembly.py`, `agent/turn_retry_state.py`, `agent/vision_message_prep.py`, `plugins/model-providers/commandcode/__init__.py`, `providers/base.py`, `tests/agent/test_error_classifier.py`, `tests/agent/test_turn_retry_state.py`, `tests/plugins/model_providers/test_commandcode_profile.py`, `tests/run_agent/test_tool_image_relocation.py`, `tests/run_agent/test_tool_image_relocation_recovery.py`, `tests/run_agent/test_vision_tool_messages.py`, `tests/tools/test_vision_native_fast_path.py`, `tools/vision_tools.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
