[eric] policy: a block on Opus 5 finishes the ask on Opus 4.8 on the same lane before touching the user's key, one failover per ask; fleet 14 days: 78 blocks on opus-5, 0 on opus-4-8

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ciregenz
2026-09-07 18:32:56 -07:00
co-authored by Claude Fable 5.1
parent 9a56b2058b
commit 9bdd45f791
6 changed files with 105 additions and 7 deletions
+1
View File
@@ -244,6 +244,7 @@ class AgentManager(SessionLifecycle, SessionHistory, SessionPersistence, Messagi
return
session.status = "running"
session.last_failure_kind = None
# Resolve the model id now so every closure (approval hook, tool executed handler, etc.) has both the short name and the 9Router-prefixed id available without re-resolving. The short name is what the user sees; the router id is what 9Router reports its per-model counters under.
from backend.apps.agents.providers.registry import (