simplify(compat): interrupt — drop _ThreadAwareEventProxy/_interrupt_event legacy alias, repoint 2 test files

No runtime consumer read the proxy (terminal_tool/environments call is_interrupted()/set_interrupt()
directly); its only users were tests patching tools.interrupt._interrupt_event, which had no effect on
the code under test. tools/terminal_tool.py's own re-export of the name is owned by another worker.
This commit is contained in:
Teknium
2026-09-03 14:00:59 -07:00
parent c93ace77c2
commit 7a33369e81
109 changed files with 511 additions and 403 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ def _model_picker_context(agent):
provider, base_url, model = (getattr(agent, k, "") if agent else "" for k in ("provider", "base_url", "model"))
if str(provider or "").strip().lower() == "custom":
try:
from hermes_cli.runtime_provider_custom import canonical_custom_identity
from hermes_cli.runtime_provider import canonical_custom_identity
provider = canonical_custom_identity(
base_url=base_url or None, config_provider=ctx.current_provider, model=model or None) or provider
except Exception: