Skip to content

docs(tutorials): note OpenAI-compatible base_url for chat apps - #1505

Open
seven7763 wants to merge 1 commit into
streamlit:mainfrom
seven7763:docs/openai-compatible-base-url
Open

docs(tutorials): note OpenAI-compatible base_url for chat apps#1505
seven7763 wants to merge 1 commit into
streamlit:mainfrom
seven7763:docs/openai-compatible-base-url

Conversation

@seven7763

Copy link
Copy Markdown

Summary

In the Build a ChatGPT-like app tutorial, document that the OpenAI Python client accepts a custom base_url for OpenAI-compatible endpoints (local runtimes or multi-model gateways such as DaoXE).

  • Optional commented example: base_url="https://api.daoxe.com/v1"
  • Note to use a key and model id issued/served by that endpoint

Docs only; no runtime changes.

Test plan

  • Tutorial page renders
  • Code sample is clearly optional/commented

Document that the OpenAI Python client accepts a custom base_url for
OpenAI-compatible endpoints (local runtimes or multi-model gateways such
as DaoXE). Docs only; example remains commented optional.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@seven7763
seven7763 requested a review from a team as a code owner August 2, 2026 23:51
@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploy Preview for streamlit-docs ready!

Name Link
🔨 Latest commit 104563f
🔍 Latest deploy log https://app.netlify.com/projects/streamlit-docs/deploys/6a6fd7ef4bc54f0008f6c3eb
😎 Deploy Preview https://deploy-preview-1505--streamlit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant