pydantic-ai v2.56.0 • Python 3.12.15 / \ / \ agent: ag • model: openai:grok-4.20-0309-non-reasoning • tools: 0 • capabilities: 0 /___.___\ / | \ observability: off — see every model and tool call live, with cost / | \ set it up free with Logfire and a GitHub login: https://pydantic.dev/ai-setup.md `---.._|_..---' or use any OpenTelemetry backend: https://pydantic.dev/docs/ai/logfire/#otel goes away once observability is on — or PYDANTIC_AI_NO_BANNER=1 Traceback (most recent call last): File "/workspace/tests/leaderboard/run_pydantic_ai.py", line 8, in u=r.usage(); print("\n=====FINAL=====\n",r.output); print(f"\nELAPSED {el:.1f}s"); print("USAGE",json.dumps({"prompt_tokens":u.input_tokens,"completion_tokens":u.output_tokens})) ^^^^^^^^^ TypeError: 'RunUsage' object is not callable