Give completed Agent thoughts descriptive labels#650
Conversation
Generate phase-specific present-tense labels for completed Agent reasoning, keep Thinking visible while labels load, persist labels safely, and animate label transitions.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Thanks, this makes sense. I agree the current labels can sometimes sound like the agent is already making a tool call when it is really only considering one. I'll adjust that. As for the concept of collapsing the reasoning and tool calling into UI phases, that is already part of the broader [Agent timeline exploration](#635). I'm trying your suggestion from last week to break UX experiments into smaller chunks instead of trying to redesign the whole timeline at once. I also like the direction of letting activity stream in first and collapsing it afterward. For this pass, I’m going to try gemma, strengthen the prompt with examples that distinguish intent from actual execution, and test a bounded version of the continual summarizer: one provisional label during longer thoughts, followed by a final label when the thought ends. If gemma isn’t fast enough, I’ll try llama and retune the prompt for it. |
|
Makes sense. Make sure to set reasoning off for gemma. I have an example of that with my auto approver classifier for tool calls. |

Closes #646
What changed
auto:quick.Thinkingvisible while the label is pending, fall back toThoughtafter five seconds or on failure, and fade between label changes.Why
Completed reasoning rows previously used the hard-coded
Thoughtlabel, which gave no indication of what a phase had done. The generated-label prompt now treats the user request as background and prioritizes the current phase's latest concrete action, producing more useful labels without adding conversation history, tool data, or an immediate-action field.Impact
Label generation is non-blocking and does not delay Agent activity, approvals, final responses, or run completion. Invalid or failed responses remain a silent
Thoughtfallback, and loading old history does not trigger new requests.Validation
bun run test— 170 passingbun run typecheckbun run lint— 0 errors (12 existing warnings)bun run format:checkThe desktop binary was not built.