Describe the bug
When the assistant's response has not finished streaming yet and the user sends another message, the follow-up suggestion chips (the "To-dos" / suggested-questions row above the input box) end up in a clearly broken layout state: the suggestion chips and the stray close (X) button stay rendered and overlap awkwardly with the To-dos panel and the input box, instead of being hidden/reset.
See screenshot below — the suggested-question chips and a lone X button are left dangling between the "To-dos" panel and the input box, which does not match expectations.
Steps to reproduce
- Start a chat and let the assistant begin responding.
- Before the response finishes streaming, type and send another message.
- Observe the follow-up suggestion chips area above the input box.
Expected behavior
While a new turn is in progress / streaming, the previous turn's follow-up suggestion chips should be hidden (or cleared/reset), and the layout around the input box should stay clean — no leftover chips or orphaned X close button overlapping the input.
Actual behavior
The follow-up chips from the previous turn remain visible and render in a broken, overlapping layout together with a lone X button, looking misaligned against the To-dos panel and input box.
Screenshot

(Reproduced in the chat workspace; chips show leftover suggested questions plus an orphaned close button above the input placeholder "今天我能为你做些什么?".)
Likely area
Frontend follow-up suggestions rendering, controlled by showFollowups in frontend/src/components/workspace/input-box.tsx:
const showFollowups =
!disabled &&
!isWelcomeMode &&
!followupsHidden &&
(followupsLoading || followups.length > 0);
showFollowups does not account for the in-progress / streaming state of the current turn, so stale follow-ups from the previous turn can stay mounted while a new message is being sent and the response is still streaming. The follow-ups fetch effect and the streaming status likely need to gate/clear the chips when a new turn starts.
Environment
- Component: Frontend (chat workspace input box / follow-up suggestions)
Describe the bug
When the assistant's response has not finished streaming yet and the user sends another message, the follow-up suggestion chips (the "To-dos" / suggested-questions row above the input box) end up in a clearly broken layout state: the suggestion chips and the stray close (
X) button stay rendered and overlap awkwardly with the To-dos panel and the input box, instead of being hidden/reset.See screenshot below — the suggested-question chips and a lone
Xbutton are left dangling between the "To-dos" panel and the input box, which does not match expectations.Steps to reproduce
Expected behavior
While a new turn is in progress / streaming, the previous turn's follow-up suggestion chips should be hidden (or cleared/reset), and the layout around the input box should stay clean — no leftover chips or orphaned
Xclose button overlapping the input.Actual behavior
The follow-up chips from the previous turn remain visible and render in a broken, overlapping layout together with a lone
Xbutton, looking misaligned against the To-dos panel and input box.Screenshot
Likely area
Frontend follow-up suggestions rendering, controlled by
showFollowupsinfrontend/src/components/workspace/input-box.tsx:showFollowupsdoes not account for the in-progress / streaming state of the current turn, so stale follow-ups from the previous turn can stay mounted while a new message is being sent and the response is still streaming. The follow-ups fetch effect and the streamingstatuslikely need to gate/clear the chips when a new turn starts.Environment