Skip to content

Update min openai version #1479

New issue

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

Merged
merged 1 commit into from
Apr 15, 2025
Merged

Update min openai version #1479

merged 1 commit into from
Apr 15, 2025

Conversation

dmontagu
Copy link
Contributor

Closes #1478.

Note — as far as I can tell, you can use the new models today by just manually specifying their names. This PR just adds them to the list of "KnownModelName"s; because we sync that list in our tests with the value provided by the OpenAI SDK, we'd need to rework that test to explicitly add the models to the list without updating the openai sdk.

I don't see any reason not to bump the min version of openai SDK, so I'm doing that in this PR, but anyone that wants to use these models today should be aware that you do not need to wait for a new release of pydantic-ai to start using 'gpt-4.1' etc..

Copy link

github-actions bot commented Apr 14, 2025

Docs Preview

commit: 214788a
Preview URL: https://5785f730-pydantic-ai-previews.pydantic.workers.dev

@Kludex Kludex merged commit 4bf310c into main Apr 15, 2025
16 checks passed
@Kludex Kludex deleted the dmontagu/update-min-openai-version branch April 15, 2025 06:08
@zachmayer zachmayer mentioned this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support new OpenAI 4.1 model
2 participants