Repository navigation
feat(app): retry a failed run, switching to Automatic when the model caused it - #582
Merged
Merged
Conversation
…caused it Why: packages/channel/src/channel.ts#class Channel | an ask with `automatic` and no model must replace the chat's model with the channel's choice, so Retry can leave a model that fails
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.
Adds Retry to a failed run (map ^525, ^526; decided in Q154).
Try again.with the chat's current pick.automaticflag, which makes the channel replace the chat's model with its own choice (the host default, or the first usable model), resets the composer's pick to Automatic, and confirms in a toast.askgainsautomatic?: booleanin@ace/channel/protocol; older hosts ignore it and keep the chat's model.Smoke-tested on a loopback host (port 4432, isolated home/config/keychain) with headless Playwright:
ace ask retry --model openai/gpt-4failed with OpenAI's 404; the app showed the Automatic line, Retry showed the "Switched this chat to Automatic" toast, the line went away, and the chat answeredHello!on claude-opus-5-5.Built in Ace
No. Built with Claude Code as a fix-train worker against the Ace map, outside Ace (#5).