mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-28 04:24:51 +02:00
[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:
co-authored by
Claude Fable 5.1
parent
9a56b2058b
commit
9bdd45f791
@@ -169,6 +169,8 @@ class AgentSession(BaseModel):
|
||||
# moment they send again. Failing over is for finishing THE CURRENT ASK; leaving the chat on a
|
||||
# metered key forever would bill them per token with one line said about it, once (ENG-383).
|
||||
lane_failover_from: Optional[str] = None
|
||||
# How the last turn ended when it ended on a card; a parent reads it off a child so a declined task is not re-dispatched.
|
||||
last_failure_kind: Optional[Literal["policy_block"]] = None
|
||||
# Consecutive dirty deaths this session was MID-TURN for; the crash auto-resume breaker (hermes #30719 pairing: auto-resume must never outrun its circuit breaker).
|
||||
crash_interrupt_count: int = 0
|
||||
# Outage rounds spent on this ask: the in-turn ladder covers only 335s, and the work is checkpointed, so a longer drop is waited out rather than ending the task.
|
||||
|
||||
Reference in New Issue
Block a user