Skip to content

Add self-hosted model guide for the common.ai provider#69867

Merged
Lee-W merged 1 commit into
apache:mainfrom
astronomer:add-instruciton-for-self-hosted-model-with-common.ai
Jul 16, 2026
Merged

Add self-hosted model guide for the common.ai provider#69867
Lee-W merged 1 commit into
apache:mainfrom
astronomer:add-instruciton-for-self-hosted-model-with-common.ai

Conversation

@Lee-W

@Lee-W Lee-W commented Jul 14, 2026

Copy link
Copy Markdown
Member

Self-hosted setup (Ollama, vLLM) was only documented as scattered fragments across the connection, hook, and retry-policy pages, with no single place explaining the base_url connection pattern, when to use the ollama: vs openai: model-id prefix, or the base_url/api_base naming difference across hooks — leaving Dag authors to piece it together from source.

updated with more setup instruciton on different tools
image


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.

Comment thread providers/common/ai/docs/self_hosted_models.rst Outdated
@Lee-W
Lee-W force-pushed the add-instruciton-for-self-hosted-model-with-common.ai branch from fe6c093 to 41efcb5 Compare July 15, 2026 03:04
@Lee-W Lee-W self-assigned this Jul 15, 2026
@Lee-W

Lee-W commented Jul 15, 2026

Copy link
Copy Markdown
Member Author

updated with more setup instruciton on different tools

Comment thread providers/common/ai/src/airflow/providers/common/ai/example_dags/example_agent.py Outdated
@Lee-W
Lee-W force-pushed the add-instruciton-for-self-hosted-model-with-common.ai branch 3 times, most recently from 975042b to 1501bf7 Compare July 16, 2026 08:26
Self-hosted setup (Ollama, vLLM) was only documented as scattered fragments across the connection, hook, and retry-policy pages, with no single place explaining the base_url connection pattern, when to use the ollama: vs openai: model-id prefix, or the base_url/api_base naming difference across hooks — leaving Dag authors to piece it together from source.
@Lee-W
Lee-W force-pushed the add-instruciton-for-self-hosted-model-with-common.ai branch from 1501bf7 to 1eadc30 Compare July 16, 2026 09:52
@Lee-W
Lee-W marked this pull request as ready for review July 16, 2026 09:54
@Lee-W
Lee-W requested a review from gopidesupavan as a code owner July 16, 2026 09:54
@Lee-W

Lee-W commented Jul 16, 2026

Copy link
Copy Markdown
Member Author
image

Just ran through a few more iterations and testing. I think it's all good. will merge it once CI is green

@Lee-W
Lee-W merged commit 97fc3f8 into apache:main Jul 16, 2026
134 of 140 checks passed
@Lee-W
Lee-W deleted the add-instruciton-for-self-hosted-model-with-common.ai branch July 16, 2026 11:00
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