The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: voice_stopped result models import under a stubbed module table; model-scope stub gains the stale hook
Teknium71279f6c77c8
diff --git a/tests/hermes_cli/test_cli_gateway_model_scope.py b/tests/hermes_cli/test_cli_gateway_model_scope.pyindex 41eb7de0b4d..38e703db4fb 100644--- a/tests/hermes_cli/test_cli_gateway_model_scope.py+++ b/tests/hermes_cli/test_cli_gateway_model_scope.py@@ -134,6 +134,7 @@ def _prepare_for_chat(monkeypatch, cli_mod, stub):stub._agent_status_print = lambda *_a, **_k: Nonestub._pending_title = Nonestub._auto_load_skills_result = None+ stub._mark_automation_stale = lambda: Nonedef _chat_cli(monkeypatch, conn):diff --git a/tui_gateway/contracts/canonical_sessions.py b/tui_gateway/contracts/canonical_sessions.pyindex 31a9bef8d39..397b836ef8a 100644--- a/tui_gateway/contracts/canonical_sessions.py+++ b/tui_gateway/contracts/canonical_sessions.py@@ -234,9 +234,11 @@ class CanonicalVoiceStopped(Result):voice_stopped: Literal[True]-class CanonicalSubmitResult(RootModel[AdmissionStatus | CanonicalVoiceStopped]):+class CanonicalSubmitResult(RootModel):"""``prompt.submit``: the admission receipt, or ``{voice_stopped: true}``."""+ root: AdmissionStatus | CanonicalVoiceStopped+class CanonicalSteerQueuedParams(CanonicalSessionParams):admission_id: str@@ -268,10 +270,12 @@ class CanonicalCorrectionAck(Result):authority_epoch: int-class CanonicalCorrectionResult(RootModel[CanonicalCorrectionAck | CanonicalVoiceStopped]):+class CanonicalCorrectionResult(RootModel):"""``session.steer`` / ``session.redirect``: the correction verdict, or ``{voice_stopped: true}``when the busy-time text was a bare stop phrase that ended the LOCAL voice chat."""+ root: CanonicalCorrectionAck | CanonicalVoiceStopped+class CanonicalApprovalParams(CanonicalControlParams):prompt_id: str