[eric] free-trial: set ENABLE_TOOL_SEARCH=auto on the proxy branch (tool-defer+cache_control 400)

This commit is contained in:
ciregenz
2026-06-13 17:17:28 -07:00
parent 9f1c738ab2
commit c8a86cd3ff
+4
View File
@@ -1649,6 +1649,10 @@ class AgentManager:
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-4-6",
"ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4-5-20251001",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001",
# auto, never the bare default: tengu_defer_all_bn4 marks every tool
# defer_loading=true, which collides with our cache_control and 400s the
# first tool-laden request (the other anthropic branches all set this).
"ENABLE_TOOL_SEARCH": "auto",
}
# Free lane meters one run per agent session: tag every call to the cloud with the
# session id so 1 task = 1 run (without it the cloud falls back to token-coarse runs).