Something went wrong. Try again.
ARCHIVED [experiment over]: An AI agent built to do Ralph loops - plan mode for planning and ralph mode for implementing.
Something went wrong. Try again.
feat(llm): add token usage tracking to Response type master
Add input_tokens and output_tokens fields to enable tracking of token consumption from LLM API calls. Each provider extracts token usage from their API responses: - Anthropic: input_tokens and output_tokens - OpenAI: prompt_tokens and completion_tokens - Ollama: prompt_eval_count and eval_count (None if unavailable) - Mock: supports configurable token counts Also add PartialEq to ResponseContent and ToolCall. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author David Hagerty Co-author Claude Opus 4.6 Date (Feb 9, 2026, 3:51 PM UTC) Commit 9f380e0b 9f380e0bdace789d69553b028d88acd51f8ee8f7 Parent 1849e7e1 1849e7e12573d9d36decd4382aeec938f2bc1893