-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In what type of project did the bug occur?
Agent
Describe the bug
Certain imports from pydantic-ai (e.g. AgentRunResult) are not being recognized, which appears to be related to the pydantic-ai version specified in pyproject.toml. When i switch from "pydantic-ai>=1.0.8" to "pydantic-ai==1.0.8", everything works as expected.
To Reproduce
Simply run the project
Actual result
ImportError: cannot import name 'AgentRunResult' from 'pydantic_ai.result' (D:\projects\test-agent-kit\.venv\Lib\site-packages\pydantic_ai\result.py)
Environment (please complete the following information):
- OS: [Windows 11]
- Agent/LLM: custom agent with gpt-4o model
- Execution method: local uv
- Python version: 3.13
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working