Repository navigation
Description
Goals and scope
Updream and Jimeng show suggested next steps beneath creative replies. In OpenDirector, a user reviewing a storyboard could select “Break the seaside reunion into six shots,” add “Use only static shots,” and send the complete instruction to the assistant.
Show suggested replies beneath the latest response in the right-hand assistant panel. Selecting a suggestion updates the draft. The user decides when to send it.
User flow and key rules
- When there are useful next steps, the assistant offers 3 to 5 distinct suggestions in the user’s language. Each suggestion is a single line of plain text, up to 80 characters long. The assistant omits suggestions when it has fewer than three useful next steps or is reporting a fatal error.
- Suggestions appear when the panel is open, the conversation is ready for another turn, and its latest message is a completed assistant reply. They stay visible while the user types. They are hidden while switching conversations, uploading attachments, or waiting for reference confirmation.
- Selecting a suggestion fills an empty composer or replaces the text already there. Attachments, references, and skills stay in the draft. Focus returns to the composer so the user can edit the wording, choose another suggestion, or undo the replacement. Clicking Send or pressing
Entersubmits the final draft.
Implementation impact
All six runtimes receive the same instructions for optional suggested replies. When a reply includes suggestions, it ends with a top-level Markdown bullet list, a blank line, and a standalone [opendirector-replies]: # line.
The frontend recognizes the marked list and renders eligible suggestions as buttons. Selection uses the existing editor and draft-saving flow. Manual sending uses the standard message submission flow. Conversations continue to store the original reply text and tool-call offsets.
Acceptance criteria
- In both UI languages, suggestions appear under the latest completed assistant reply and stay visible while the user types.
- Selecting a suggestion fills or replaces the draft text, preserving attachments, references, and skills. The user can edit or undo the change. Only manual sending adds a message.
- If the list is invalid or fewer than three eligible suggestions remain, the original list stays readable and copyable as Markdown. Copying omits the final protocol marker.
- All six runtimes receive the suggestion instructions on both the first turn and resumed turns.
Activity