Silent response on follow-up suggestion requests #1

Open
opened 2026-04-12 13:54:40 +00:00 by jprenker · 0 comments
Owner

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 artists SSE event was arriving before any text event, leaving suggestions buffered in pendingArtistsRef with nothing to flush them. A done event 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

  • Add console logging to the onEvent handler in frontend/src/hooks/useChat.ts to capture the raw SSE event sequence on a failing turn
  • Check the backend tool-use loop in app/api/chat.py to see whether it is silently swallowing an error or producing no output blocks on those turns
## 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 `artists` SSE event was arriving before any `text` event, leaving suggestions buffered in `pendingArtistsRef` with nothing to flush them. A `done` event 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 - Add console logging to the `onEvent` handler in `frontend/src/hooks/useChat.ts` to capture the raw SSE event sequence on a failing turn - Check the backend tool-use loop in `app/api/chat.py` to see whether it is silently swallowing an error or producing no output blocks on those turns
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jprenker/findarr#1
No description provided.