Show LLM token usage after strategy generation

#8 · closed · 0 comments

View on GitHub ↗

amphro

Workers AI responses include \`result.usage\` (input + output token counts). Capture this in the strategist and surface it in the player UI alongside the "Strategy locked" confirmation — something like \`450 tok\`. - Capture usage in \`worker/durable-objects/strategist.ts\` - Return it alongside the strategy readback - Display it as a small annotation on the PromptInput locked state

Comments