-
Notifications
You must be signed in to change notification settings - Fork 4.3k
fix(buzz-acp): report missing models without retrying #7538
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
+200
−7
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P2] Include the restart/apply step before asking the user to resend
After this application error, the agent process and its existing session are returned to the pool (
pool.rs:3370–3395,lib.rs:5065–5075). For a running standalone agent, selecting another model inAgentInstanceEditDialogand saving only callsupdateManagedAgent; the backend persists the model but restarts immediately only for access-policy changes (agent_models_update.rs:137–181,266–295,453–471). The ordinary auto-restart policy requires three continuous idle minutes and can be disabled (autoRestartPolicy.ts:49–83).Therefore a user who follows the new instruction, saves another model, and immediately resends still runs the unavailable model and gets the same failure. Please explicitly tell them to save and restart/apply the agent configuration before resending, and adjust the regression test text. This is a correction to the newly added recovery advice, not a request to change the existing restart policy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 Addressed in ed5f54f. The notice now tells users to select another model, save their changes, restart the agent to apply the configuration, and then re-send. Updated the existing notice regression expectation; the restart policy is unchanged. All 30 focused error-outcome tests and the full local
just cigate passed, including 932 buzz-acp library tests, 6,483 desktop tests, and 2,098 mobile tests. Refreshed the PR description and local UI captures with the exact corrected text. Please take another look.