The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(doctor): image_gen hint covers a selected provider with a missing key or SDK
teknium15685b76fde8d
diff --git a/hermes_cli/doctor_tools.py b/hermes_cli/doctor_tools.pyindex 7d08a134ac7..ae20745f13f 100644--- a/hermes_cli/doctor_tools.py+++ b/hermes_cli/doctor_tools.py@@ -119,7 +119,7 @@ def _enabled_cli_toolsets_for_doctor() -> set[str] | None:# `requires_env`, so the generic branch would call a missing credential a "system dependency".# Name the real fix instead (#9516)._TOOLSET_SETUP_HINTS: dict[str, str] = {- "image_gen": "(no image generation provider configured — set one up with 'hermes tools')",+ "image_gen": "(image generation unavailable — check the provider selection and its key or SDK with 'hermes tools')",}diff --git a/tests/hermes_cli/test_doctor.py b/tests/hermes_cli/test_doctor.pyindex 87c8dfb6643..5efc92c8611 100644--- a/tests/hermes_cli/test_doctor.py+++ b/tests/hermes_cli/test_doctor.py@@ -110,7 +110,7 @@ class TestDoctorToolAvailabilitySummary:out = buf.getvalue()image_line = next(line for line in out.splitlines() if "image_gen" in line)- assert "hermes tools" in image_line and "system dependency" not in image_line+ assert "hermes tools" in image_line and "system dependency" not in image_line and "unavailable" in image_lineassert "system dependency not met" in next(line for line in out.splitlines() if "homeassistant" in line)assert any("hermes setup" in issue for issue in f.issues)