We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anthropic supports image responses https://docs.anthropic.com/en/docs/build-with-claude/tool-use/overview#handling-tool-use-and-tool-result-content-blocks
But we're currently forcing the response to be a str (
pydantic-ai/pydantic_ai_slim/pydantic_ai/models/anthropic.py
Line 295 in 91265fb
3.12 0.0.46 Anthropic
The text was updated successfully, but these errors were encountered:
I found this too. I think we might be able to use BinaryContent: #1339
BinaryContent
Sorry, something went wrong.
I am having the same issue when using Claude from the Bedrock model.
#1517 adds support for multi-modal response from tools.
Seems better, thank you!
No branches or pull requests
Initial Checks
Description
Anthropic supports image responses https://docs.anthropic.com/en/docs/build-with-claude/tool-use/overview#handling-tool-use-and-tool-result-content-blocks
But we're currently forcing the response to be a str (
pydantic-ai/pydantic_ai_slim/pydantic_ai/models/anthropic.py
Line 295 in 91265fb
Example Code
Python, Pydantic AI & LLM client version
The text was updated successfully, but these errors were encountered: