Files
Aleksander DygońandClaude Opus 5.5 5cf659bddf Name the spent model in the backup switch note (#8667)
When a credit balance is spent, the agent moves to a backup model as for
a provider error, and it does not go back by itself. The chat note said
only "Provider error. Switched to {model}.", so the user could not see
that the credits ran out, which model the agent left, or what to do.

For a spent balance, the note now names the model that has no credits
left and the backup, and tells the user to add credits and select the
model again. The reason and the item type stay "provider-error", so the
stored data and the Team API do not change. Older notes keep their text.

The backup model failover E2E has a new spent-balance case. It fails
without this change and passes with it.

Fixes #7965

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:28:56 +01:00
..