From 13d90b573c78f7b403264395bb1f78c87d0dce92 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 24 Jul 2026 18:29:00 +0300 Subject: [PATCH 1/4] test with router model --- anton/core/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anton/core/settings.py b/anton/core/settings.py index 5057f8b9..dea7a3ab 100644 --- a/anton/core/settings.py +++ b/anton/core/settings.py @@ -9,9 +9,9 @@ class CoreSettings(BaseSettings): # turn first hits the router model, which either answers trivial/from- # context requests directly or delegates to the planning model (optionally # preloading skills). The mechanism is the "thalamus" (see - # anton/core/llm/thalamus.py); the user-facing knobs stay "router". Off by - # default until evaluated; flip with ANTON_ROUTER_ENABLED=true. - router_enabled: bool = False + # anton/core/llm/thalamus.py); the user-facing knobs stay "router". On by + # default; disable with ANTON_ROUTER_ENABLED=false. + router_enabled: bool = True # Output budget for the gating call. Deliberately small: a direct # answer that doesn't fit here is evidence the turn wasn't trivial, # and the router treats truncation as "delegate". From 01e7b244a068a0a7da700de6c67ea95c47d79558 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 24 Jul 2026 19:04:42 +0300 Subject: [PATCH 2/4] test fail --- anton/core/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anton/core/session.py b/anton/core/session.py index 77eece9a..607a77d7 100644 --- a/anton/core/session.py +++ b/anton/core/session.py @@ -1927,6 +1927,7 @@ async def turn_stream( routed_direct = False if self._router_enabled and isinstance(user_input, str): decision = await self._gate_turn() + 1/0 if decision is not None and decision.action == ACTION_RESPOND: self._append_history( {"role": "assistant", "content": decision.text} From 6fd85c7a010c0b809d8a2cd8d4f1dd8fed25fe9a Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 24 Jul 2026 19:18:41 +0300 Subject: [PATCH 3/4] rollback --- anton/core/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anton/core/session.py b/anton/core/session.py index 607a77d7..e826265b 100644 --- a/anton/core/session.py +++ b/anton/core/session.py @@ -1927,7 +1927,7 @@ async def turn_stream( routed_direct = False if self._router_enabled and isinstance(user_input, str): decision = await self._gate_turn() - 1/0 + if decision is not None and decision.action == ACTION_RESPOND: self._append_history( {"role": "assistant", "content": decision.text} From 46bd5ae1788c6cc3ab0ec81e4da1a3fe603d8257 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 24 Jul 2026 19:21:11 +0300 Subject: [PATCH 4/4] rollback --- anton/core/session.py | 1 - 1 file changed, 1 deletion(-) diff --git a/anton/core/session.py b/anton/core/session.py index e826265b..77eece9a 100644 --- a/anton/core/session.py +++ b/anton/core/session.py @@ -1927,7 +1927,6 @@ async def turn_stream( routed_direct = False if self._router_enabled and isinstance(user_input, str): decision = await self._gate_turn() - if decision is not None and decision.action == ACTION_RESPOND: self._append_history( {"role": "assistant", "content": decision.text}