Skip to content

fix: stop retrying forever after a model switch - #57

Merged
Im-Beast merged 1 commit into
mainfrom
mateusz/retry-loop
Sep 13, 2026
Merged

fix: stop retrying forever after a model switch#57
Im-Beast merged 1 commit into
mainfrom
mateusz/retry-loop

Conversation

@Im-Beast

@Im-Beast Im-Beast commented Sep 13, 2026

Copy link
Copy Markdown
Contributor
  • Fixes a failing fallback model bouncing back to the primary forever, which caused 48k model calls in one prod turn
  • Caps model calls per turn at the retry budget and logs to the trace when the cap trips

@Im-Beast
Im-Beast added this pull request to stack #59 September 13, 2026 19:50
@Im-Beast
Im-Beast marked this pull request as ready for review September 13, 2026 19:53
@Im-Beast
Im-Beast merged commit d2ffcfb into main Sep 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant