The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(gateway): drop dead GatewayRunner._has_setup_skill (no production caller; tests only stub it)
Teknium4ad1c6c1be2b
diff --git a/gateway/run.py b/gateway/run.pyindex 8e5f7512393..a478de11774 100644--- a/gateway/run.py+++ b/gateway/run.py@@ -4735,16 +4735,6 @@ class GatewayRunner("for container-local paths like '/workspace/...' or '/output/...'.")- # -- Setup skill availability ------------------------------------------ def _has_setup_skill(self) -> bool:- """Check if the hermes-agent-setup skill is installed."""- try:- from tools.skill_manager_tool import _find_skill- return _find_skill("hermes-agent-setup") is not None- except Exception:- return False-# -- Voice mode persistence ------------------------------------------_VOICE_MODE_PATH = _hermes_home / "gateway_voice_mode.json"diff --git a/tests/gateway/test_10710_auto_reset_evicts_cached_agent.py b/tests/gateway/test_10710_auto_reset_evicts_cached_agent.pyindex 0097bcfb3f3..e8a65cda89c 100644--- a/tests/gateway/test_10710_auto_reset_evicts_cached_agent.py+++ b/tests/gateway/test_10710_auto_reset_evicts_cached_agent.py@@ -22,6 +22,7 @@ import inspectfrom gateway import run as gateway_runfrom gateway import run_turn as gateway_run_turn+from gateway import run_turn as gateway_run_turndef _calls(node: ast.AST) -> set[str]:diff --git a/tests/gateway/test_35809_auto_reset_clean_context.py b/tests/gateway/test_35809_auto_reset_clean_context.pyindex c0385649974..c75b0634080 100644--- a/tests/gateway/test_35809_auto_reset_clean_context.py+++ b/tests/gateway/test_35809_auto_reset_clean_context.py@@ -38,6 +38,7 @@ import inspectfrom gateway import run as gateway_runfrom gateway import run_turn as gateway_run_turn+from gateway import run_turn as gateway_run_turnfrom gateway.config import GatewayConfig, Platformfrom gateway.session import SessionSource, SessionStorefrom hermes_state import SessionDBdiff --git a/tests/gateway/test_48031_model_switch_after_auto_reset.py b/tests/gateway/test_48031_model_switch_after_auto_reset.pyindex 736f4d6fdfb..be34b99a817 100644--- a/tests/gateway/test_48031_model_switch_after_auto_reset.py+++ b/tests/gateway/test_48031_model_switch_after_auto_reset.py@@ -25,6 +25,7 @@ import inspectfrom gateway import run as gateway_runfrom gateway import run_turn as gateway_run_turn+from gateway import run_turn as gateway_run_turnfrom gateway import slash_commands as gateway_slashdiff --git a/tests/gateway/test_compression_deferred_soft_result.py b/tests/gateway/test_compression_deferred_soft_result.pyindex 0846cc78bc9..24284f74a74 100644--- a/tests/gateway/test_compression_deferred_soft_result.py+++ b/tests/gateway/test_compression_deferred_soft_result.py@@ -23,6 +23,7 @@ import inspectfrom gateway import run as gateway_runfrom gateway import run_turn as gateway_run_turn+from gateway import run_turn as gateway_run_turndef _calls(node: ast.AST) -> set[str]:diff --git a/tests/gateway/test_compression_session_id_persistence.py b/tests/gateway/test_compression_session_id_persistence.pyindex 8106b5b9c40..1a5f1215cfd 100644--- a/tests/gateway/test_compression_session_id_persistence.py+++ b/tests/gateway/test_compression_session_id_persistence.py@@ -27,6 +27,8 @@ from unittest.mock import MagicMock, callfrom gateway import run as gateway_runfrom gateway import run_turn as gateway_run_turnfrom gateway import run_turn_runner as gateway_run_turn_runner+from gateway import run_turn as gateway_run_turn+from gateway import run_turn_runner as gateway_run_turn_runnerfrom gateway.session_context import set_current_session_id, get_session_env