pydantic-ai 2.75: knows Sonnet 5.5 rejects forced tool choice

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
paulandCopilot committed 2026-11-26 17:33:43 +13:00
1 parent 5170ec2f57
commit 043674989a
2 files changed
+173 -26

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ dependencies = [
# 2.x is what agent.py is written against: capabilities, CancellationToken,
# FallbackModel, OllamaModel. anthropic for the cloud profile; openai for
# Ollama and any other OpenAI-compatible server.
"pydantic-ai-slim[anthropic,openai]>=2.50,<3",
"pydantic-ai-slim[anthropic,openai]>=2.75,<3",
]
[tool.uv]