hermes-agent/tools
ygd58 7dc9281f05 fix(vision): surface actual error reason instead of generic message
When vision_analyze_tool fails, the except block was returning a
generic 'could not be analyzed' message that gave the agent no
actionable information about the failure cause.

Replace the generic message with the actual exception string so the
agent can distinguish between backend errors, missing dependencies,
network failures, and unsupported image paths.

Also add an 'error' field to the failure response for structured
error handling by callers.

Fixes #1034
2026-03-14 12:01:29 -07:00
..
environments fix: clearer docker backend preflight errors (#1276) 2026-03-14 02:53:02 -07:00
__init__.py docs: complete Daytona backend documentation coverage 2026-03-06 03:37:05 -08:00
approval.py fix: preserve current approval semantics for tirith guard 2026-03-14 00:17:04 -07:00
browser_tool.py fix: align salvaged browser cleanup patch with current main 2026-03-14 11:34:31 -07:00
checkpoint_manager.py fix: improve git error logging in checkpoint manager 2026-03-11 09:00:09 -07:00
clarify_tool.py More major refactor/tech debt removal! 2026-02-21 20:22:33 -08:00
code_execution_tool.py fix: head+tail truncation for execute_code stdout 2026-03-11 00:26:13 -07:00
cronjob_tools.py fix: Signal adapter parity pass — integration gaps, clawdbot features, env var simplification 2026-03-08 21:00:21 -07:00
debug_helpers.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
delegate_tool.py feat(delegate): add observability metadata to subagent results (#1175) 2026-03-13 08:07:12 -07:00
file_operations.py Merge PR #533: fix: use regex for search output parsing to handle Windows drive-letter paths 2026-03-09 23:18:42 -07:00
file_tools.py fix: replace debug print() with logger.error() in file_tools 2026-03-11 04:38:07 -07:00
fuzzy_match.py Cleanup time! 2026-02-20 23:23:32 -08:00
homeassistant_tool.py feat: enhance Home Assistant integration with service discovery and setup 2026-03-03 05:16:53 -08:00
honcho_tools.py feat(honcho): honcho_context can query any peer (user or ai) 2026-03-10 16:21:07 -04:00
image_generation_tool.py fix: add exc_info=True to image generation error logging 2026-03-11 09:15:45 -07:00
interrupt.py feat: enhance interrupt handling and container resource configuration 2026-02-23 02:11:33 -08:00
mcp_tool.py feat(mcp): make selective tool loading capability-aware 2026-03-14 06:22:02 -07:00
memory_tool.py fix: tighten memory and session recall guidance 2026-03-14 11:36:47 -07:00
mixture_of_agents_tool.py refactor: tighten MoA traceback logging scope (#1307) 2026-03-14 07:53:56 -07:00
openrouter_client.py refactor: route ad-hoc LLM consumers through centralized provider router 2026-03-11 20:02:36 -07:00
patch_parser.py fix(patch): use regex to detect line-number prefix to avoid corrupting pipe chars 2026-03-14 03:47:13 -07:00
process_registry.py fix(cli): respect HERMES_HOME in all remaining hardcoded ~/.hermes paths 2026-03-13 21:32:53 -07:00
registry.py Merge PR #275: fix(batch_runner): preserve traceback when batch worker fails 2026-03-05 01:44:05 -08:00
rl_training_tool.py Merge branch 'main' into fix/packaging-bugs 2026-03-13 03:15:45 -07:00
send_message_tool.py fix: verify SMTP TLS in send_message_tool 2026-03-14 06:31:52 -07:00
session_search_tool.py fix: tighten memory and session recall guidance 2026-03-14 11:36:47 -07:00
skill_manager_tool.py Make skill file writes atomic 2026-03-07 00:49:10 +03:00
skills_guard.py fix(skills): honor policy table for dangerous verdicts 2026-03-14 11:27:02 -07:00
skills_hub.py feat(skills): add update checks and well-known support 2026-03-14 08:21:16 -07:00
skills_sync.py fix: make skills manifest writes atomic 2026-03-08 23:53:57 -07:00
skills_tool.py fix: improve gateway secret capture guidance message 2026-03-13 04:10:22 -07:00
terminal_tool.py fix: clearer terminal backend requirement errors 2026-03-14 06:04:39 -07:00
tirith_security.py feat(security): add tirith pre-exec command scanning 2026-03-14 00:11:27 -07:00
todo_tool.py fix: escalate read/search blocking, track search loops, filter completed todos 2026-03-08 23:01:21 +03:00
transcription_tools.py fix: address PR review round 4 — remove web UI, fix audio/import/interface issues 2026-03-14 14:27:21 +03:00
tts_tool.py fix: resolve 6 voice mode bugs found during audit 2026-03-14 14:27:20 +03:00
vision_tools.py fix(vision): surface actual error reason instead of generic message 2026-03-14 12:01:29 -07:00
voice_mode.py fix: voice pipeline hardening — 7 bug fixes with tests 2026-03-14 14:27:21 +03:00
web_tools.py feat: call_llm/async_call_llm + config slots + migrate all consumers 2026-03-11 20:52:19 -07:00