Show a thinking indicator while the model reasons #49
Reference in New Issue
Block a user
Delete Branch "agent-image-and-context-fixes"
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?
qwen3.8-27b is a reasoning model: it can think for hundreds of tokens before any visible content streams. The SSE stream only forwarded content deltas, so the UI showed dead air for the whole think and long answers looked hung (users cancel ~1 min in). The stream now emits a throttled {"type": "thinking"} heartbeat while the current model turn has produced no content yet, and the frontend renders a pulsing "Thinking..." pill until content or a tool call arrives. The heartbeat also keeps bytes flowing on the SSE connection during long thinks, so idle-timeout disconnects in the proxy chain can't kill the stream. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>