Skip to content

Fix common ai Azure OpenAI docs - #73024

Merged
kaxil merged 4 commits into
apache:mainfrom
jeff3071:fix_pydantic_ai_azure_docs
Sep 15, 2026
Merged

kaxil merged 4 commits into
apache:mainfrom
jeff3071:fix_pydantic_ai_azure_docs

Conversation

@jeff3071

@jeff3071 jeff3071 commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Fix document Azure OpenAI host path for Pydantic Ai.
Clarify api_version is required.
Add metadata and provider construction tests.

https://<resource>.openai.azure.com/openai/deployments/<deployment>

to

https://<resource>.openai.azure.com/openai/v1.

Was generative AI tooling used to co-author this PR?

NO


  • 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.

@jeff3071 jeff3071 changed the title update docs Align Azure OpenAI host path docs example Sep 12, 2026

@subhramit subhramit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (not a committer but trying to help the maintainers here)

Comment thread providers/common/ai/provider.yaml Resolved
@kaxil

kaxil commented Sep 14, 2026

Copy link
Copy Markdown
Member

Not anchorable to a line, so noting it here: the description still says the change is from the deployments path to https://<resource>.openai.azure.com, and that it aligns the docs with provider.yaml and PydanticAIAzureHook.get_ui_field_behaviour. Since 0813217 the branch moves to https://<resource>.openai.azure.com/openai/v1 instead, and edits provider.yaml and the hook rather than aligning to them.

Worth refreshing the body before merge, since a squash would carry it into the commit message.

@jeff3071 jeff3071 changed the title Align Azure OpenAI host path docs example Fix common ai Azure OpenAI docs Sep 15, 2026
@jeff3071

jeff3071 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor Author
  • Updated document and docstring related to api_version
  • add unit test: check get_provider_info, v1 endpoint without api_version
  • Updated PR desc

The fail CI seem like flaky

@kaxil
kaxil merged commit dcd360f into apache:main Sep 15, 2026
80 of 82 checks passed
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.

3 participants