fix: detect context length errors in GCP Vertex AI provider#6976
Merged
jh-block merged 1 commit intoblock:mainfrom Feb 5, 2026
Merged
fix: detect context length errors in GCP Vertex AI provider#6976jh-block merged 1 commit intoblock:mainfrom
jh-block merged 1 commit intoblock:mainfrom
Conversation
Use map_http_error_to_provider_error for proper error classification, enabling recovery compaction when context limit is exceeded. Signed-off-by: rabi <ramishra@redhat.com>
2ff8f08 to
af42e26
Compare
tlongwell-block
added a commit
that referenced
this pull request
Feb 5, 2026
* origin/main: fix: detect context length errors in GCP Vertex AI provider (#6976) Added the ability to escape Jinja variables in recipes to include them in prompts (#6975) Bug Fix: bump pctx (#6967) fix(acp): fixtures now raise content mismatch errors (#6912) custom provider form minor improvements (#6966) Fix 'Edit In Place' feature appending instead of editing messages (#6955) docs: change RPI slash commands (#6963)
kuccello
pushed a commit
to kuccello/goose
that referenced
this pull request
Feb 7, 2026
Signed-off-by: rabi <ramishra@redhat.com>
Tyler-Hardin
pushed a commit
to Tyler-Hardin/goose
that referenced
this pull request
Feb 11, 2026
Signed-off-by: rabi <ramishra@redhat.com>
Tyler-Hardin
pushed a commit
to Tyler-Hardin/goose
that referenced
this pull request
Feb 11, 2026
Signed-off-by: rabi <ramishra@redhat.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Use
map_http_error_to_provider_errorfor proper error classification, enabling recovery compaction when context limit is exceeded.Otherwise we get the follwing error and forced to start a new session.
Type of Change
Testing
Tested locally.