Repository navigation
fix(examples): read pydantic-ai run result from .output - #2908
Conversation
pydantic-ai 1.0 removed AgentRunResult.data; the extra pins pydantic-ai>=1.0, so the example crashed after a successful agent run.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 0ed3485 | Commit Preview URL Branch Preview URL |
Nov 10 2026, 08:13 PM |
Review summary (head
|
Requested by Михайло · project thread
What changed
examples/pydantic_ai_bash_agent.pyprintsresult.outputinstead ofresult.data.Why
pydantic-ai 1.0 removed
AgentRunResult.data.bashkit[pydantic-ai]requirespydantic-ai>=1.0, so the example crashed right after a successful agent run. Found during the pre-release integration pass (no CI job runs this LLM-backed example).Before / After
Before (pydantic-ai 2.66.0, local 0.20.3+main wheel, real Anthropic key):
After: exit 0, agent summary printed (FizzBuzz script created, shown, sourced, correct 1..20 output).
Risk
Checklist
🤖 Generated with Claude Code