Silent response on follow-up suggestion requests #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When asking Claude to suggest more artists as a follow-up in an existing conversation, it occasionally produces no visible output — no text response and no artist cards appear in the UI.
Observed behaviour
Reproducible by starting a conversation, receiving an initial batch of suggestions, then asking for more (e.g. "try a couple more artists"). On some turns Claude appears to think but returns nothing visible.
What has been tried
Initial hypothesis was that the
artistsSSE event was arriving before anytextevent, leaving suggestions buffered inpendingArtistsRefwith nothing to flush them. Adoneevent handler was added to flush pending artists as a message with empty prose content. The bug persisted after this fix, so the root cause is still unknown.Next steps
onEventhandler infrontend/src/hooks/useChat.tsto capture the raw SSE event sequence on a failing turnapp/api/chat.pyto see whether it is silently swallowing an error or producing no output blocks on those turns