Repository navigation
Show the assistant's steps and running cost as a turn works - #226
Merged
Merged
Conversation
The Note Assistant now lists what a turn does as it does it, as GVC's assistant
does: each web search (the model's own included, reported by the suite), each
search of your notes, each note read, each change proposed, and any call that
had to be retried. The list is open in the thinking bubble while the turn plans
and is kept, collapsed, under the reply in the chat.
Alongside it, what the turn has cost so far: the suite's figure for each tool
loop reply, and a list-price estimate (the usage dashboard's table) for the text
planner and the deferred-body writer. It shows under the thinking bubble, on the
run bar while bodies are written, and on the finished reply.
AssistantRunJob gains `steps` and `cost` (added on startup like its other
columns). gecko-suite-client is pinned to the suite commit that streams native
searches and fixes the DeepSeek tool replay ("tool_use ids were found without
tool_result blocks").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1geD2q6nZC1LHGWRurh4W
davior
marked this pull request as ready for review
November 21, 2026 03:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Note Assistant now shows what a turn does while it does it, as GVC's assistant does, plus what the turn has cost so far.
Steps
Cost
app.pricing). An unpriced model adds nothing; it never shows as $0.Internals
AssistantRunJobgainsstepsandcost.assistant/turn_log.pyholds the steps and cost. It is thread-safe, because the bodies are written in parallel.stepsandcost. The activity row'smetahascost.gecko-suite-clientis pinned to davior/gecko-suite@33e47f9 (claude/happy-darwin-68bva9). That commit streams native searches and fixes the DeepSeek failure ("tool_use ids were found without tool_result blocks").Test plan
pytest -q: 1442 passed, 1 skipped.test_each_step_is_recorded_as_it_is_taken_with_the_running_cost,test_a_failed_tool_call_is_a_step_too,test_a_reply_is_priced_as_the_usage_ledger_prices_it(anthropic/openai/ollama shapes),test_the_text_planners_calls_add_up_on_the_turn_and_its_answer.npm test: 240 passed, including the newAssistantSteps.test.tsx.npm run buildpasses.Deployment
claude/happy-darwin-68bva9) first.git pull origin main && docker compose up --build -d. This rebuilds both the backend (new client pin) and the frontend.stepsandcostcolumns are added toassistantrunjobon startup. Existing rows get[]and NULL.Generated by Claude Code