-
Notifications
You must be signed in to change notification settings - Fork 46k
fix(backend): add circuit breaker for infinite tool call retry loops #12499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f5b2674
fix(backend): add circuit breaker for infinite tool call retry loops
majdyz 57b0dfb
fix(backend): address PR review comments on circuit breaker
majdyz cb83987
fix(backend): preserve circuit breaker error message through session …
majdyz 5b2911c
fix(backend): address CodeRabbit review feedback
majdyz d71f8f6
fix(backend): add chunked writing guidance and enhanced diagnostics
majdyz 9c309dc
fix(backend): address self-review comments
majdyz 8a6ceeb
fix(backend): use pre-expansion args for circuit breaker fingerprinting
majdyz 7a8557d
fix(backend): improve chunked writing prompt for research compilation
majdyz 55f59e1
fix(backend): skip transcript upload after session message rollback
majdyz 3b8a80c
fix(backend): clarify large-file prompt to reference prior tool outputs
majdyz 643ecf3
fix(backend): prefer @@agptfile: composition over section-by-section …
majdyz a8edcce
fix(backend): lower empty tool call circuit breaker from 6 to 3
majdyz 118cf69
refactor(backend): rename _TransientErrorHandled to _HandledStreamErr…
majdyz 56729f7
fix(backend): reset tool failure counters between SDK retry attempts
majdyz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.