continue-custom/extensions
Nate 7f9ef3694d feat: capture and attach usage metadata to assistant messages
Add per-message cost tracking by capturing usage data from LLM API
responses and attaching it to assistant messages when saved to session.

- Update addAssistantMessage to accept usage parameter
- Modify handleToolCalls to pass usage to message creation
- Enhance processStreamingResponse to return usage with model and cost
- Calculate cost in cents and include model name in usage metadata

This enables the control plane cost analysis page to display accurate
per-message costs without client-side token estimation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 14:36:24 -08:00
..
cli feat: capture and attach usage metadata to assistant messages 2025-12-09 14:36:24 -08:00
intellij fix(intellij): Prevent ConcurrentModificationException in keymap access 2025-12-08 15:39:24 +09:00
vscode Fix/lancedb cross target (#9033) 2025-12-08 10:42:08 -08:00