Add llm_calls table to track costs per task

t-138.1·WorkTask·
·
·
·Omni/Jr.hs
Parent:t-138·Created3 months ago·Updated3 months ago

Description

Edit

Create table: llm_calls(id, task_id, agent_role, model, prompt_tokens, completion_tokens, total_tokens, cost_usd, timestamp). Parse amp logs (_/llm/amp.log) for usage-ledger entries that contain token/credit info. After jr work completes, extract and store this data. Link to task ID.

Timeline (0)

No activity yet.