Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

nicolas-chaulet
Copy link
Contributor

@nicolas-chaulet nicolas-chaulet commented Oct 7, 2025

Closes #3102

@nicolas-chaulet nicolas-chaulet force-pushed the enable-openai-force-download branch from d8b6160 to bd0a8f0 Compare October 7, 2025 14:02
pydantic_ai_slim/pydantic_ai/models/openai.py Show resolved Hide resolved
tests/models/test_openai.py Show resolved Hide resolved
@nicolas-chaulet nicolas-chaulet requested a review from DouweM October 7, 2025 15:10
@DouweM DouweM changed the title Ensure that openai respects the force download flag for images Respect FileUrl.force_download flag in OpenAI Chat and Responses models Oct 8, 2025
@DouweM DouweM merged commit e7eb8a8 into pydantic:main Oct 8, 2025
30 checks passed
@DouweM
Copy link
Collaborator

DouweM commented Oct 8, 2025

@nicolas-chaulet Thanks Nicolas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optionally force file URLs to be downloaded agent-side before sending them to OpenAI API

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.