-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugReport that something isn't working, or PR implementing a fixReport that something isn't working, or PR implementing a fix
Description
Initial Checks
- I'm using the latest version of Pydantic AI
- I've searched for my issue in the issue tracker before opening this issue
Description
The AssistantMessageV2ContentItem was probably replaced by the AssistantMessageV2ContentOneItem in the cohere library. Could be replaced by TextAssistantMessageV2ContentItem | ThinkingAssistantMessageV2ContentItem in the type annotation (I have prepared PR to fix this bug).
Minimal, Reproducible Example
from pydantic_ai.models.cohere import CohereModelLogfire Trace
No response
Python, Pydantic AI & LLM client version
- Python: 3.13.11
- Pydantic AI: 1.62.0
- LLM provider SDK: cohere 5.20.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugReport that something isn't working, or PR implementing a fixReport that something isn't working, or PR implementing a fix