Repository navigation
Conversation
After a turn settles, the composer can show a short suggested reply as its placeholder. Tab accepts it and Escape dismisses it. Claude sends a native prompt suggestion after the result, and the adapter keeps it on the provider thread. Other providers fall back to the text generation model over the last messages. A client setting turns the feature off. Ported from probable-panda/p3code 5801eef.
Owner
Author
|
Closing: mine dropped this in the v0.1.9 merge (c0cc253). Upstream v0.1.9 ships its own Labs option, Suggest next prompt (pingdotgg#28047), which mine now uses instead. |
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.
After the agent finishes a turn, the user often types a short reply, such as "Yes, do that." The composer gives no help with this common step.
This change shows a suggested reply as the placeholder of the empty composer on web and desktop. Press
Tabto put the suggestion into the composer. PressEscapeor start to type to dismiss it.promptSuggestionsoption. The adapter stores the native suggestion for the run in the provider thread metadata. The thread shell sends it to clients, so a late suggestion updates the composer.thread.suggestReplyRPC andgenerateReplySuggestionoperation. The prompt returns an empty reply when no clear next step exists, and it does not approve destructive actions.ThreadReplySuggestionServiceonly suggests for the last assistant message of a completed run. It shares one in-flight request between devices and keeps a bounded cache.descriptionas the intent of a command execution item.Kept in sync from mine by fork-prs.