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 Committer Tangled Date (Apr 18, 2026, 5:48 PM UTC) Commit cc9cd492 cc9cd492aaaf285f7c1286a763c4f24fb3e3a544 Parent 1bc6fbfb 1bc6fbfb7e4112cf6a8c8f79e8f81917f47d18a7