Skip to content

Update OpenAI provider to OpenAI Python SDK 2.x#69068

Merged
kaxil merged 1 commit into
apache:mainfrom
astronomer:openai-provider-2x-adoption
Jun 27, 2026
Merged

Update OpenAI provider to OpenAI Python SDK 2.x#69068
kaxil merged 1 commit into
apache:mainfrom
astronomer:openai-provider-2x-adoption

Conversation

@kaxil

@kaxil kaxil commented Jun 26, 2026

Copy link
Copy Markdown
Member

Raise the openai[datalib] floor to >=2.37.0 so the provider builds against the current 2.x SDK line, and refresh stale default models (gpt-3.5-turbo -> gpt-4o-mini, text-embedding-ada-002 -> text-embedding-3-small).

Related:


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Raise the openai[datalib] floor to >=2.37.0 so the provider builds
against the current 2.x SDK line, and refresh stale default models
(gpt-3.5-turbo -> gpt-4o-mini, text-embedding-ada-002 ->
text-embedding-3-small).
@kaxil kaxil merged commit 427117e into apache:main Jun 27, 2026
93 checks passed
@kaxil kaxil deleted the openai-provider-2x-adoption branch June 27, 2026 01:41
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.

2 participants