Fallback doesn't seem to be triggered

I have this config in ~/.clawdbot/clawdbot.json:

"agents": {
    "defaults": {
      "model": {
        "primary": "anthropic/claude-opus-4-5",
        "fallbacks": [
          "openai-codex/gpt-5.2-codex"
        ]
      },
      "models": {
        "anthropic/claude-opus-4-5": {},
        "openai-codex/gpt-5.2-codex": {}
      }
   }
}


yet I still get {"type":"error","error":{"details":null,"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CX42VB511v1VS5XtmjZqz"} messages. This is likely due to Anthropic, byt when I manually force gpt-5.2-codex by itself, everything works fine. Which seems to indicate that the fallback doesn't intervene when Anthropic fails.
Was this page helpful?