Skip to content

samples: DaoXE OpenAI-compatible gateway via LiteLlm#6400

Open
seven7763 wants to merge 2 commits into
google:mainfrom
seven7763:samples/daoxe-openai-compatible-litellm
Open

samples: DaoXE OpenAI-compatible gateway via LiteLlm#6400
seven7763 wants to merge 2 commits into
google:mainfrom
seven7763:samples/daoxe-openai-compatible-litellm

Conversation

@seven7763

Copy link
Copy Markdown

Summary

Adds a contributing sample showing how to run an ADK agent against an OpenAI-compatible multi-model gateway using the existing `LiteLlm` wrapper.

  • `contributing/samples/models/hello_world_daoxe/` (agent + main + README)
  • Env: `OPENAI_API_KEY` + `OPENAI_API_BASE=https://daoxe.com/v1\`
  • Model: `LiteLlm(model="openai/")`

Same pattern as the Ollama README’s “Using openai provider” path.

Notes

  • Account-scoped model IDs (no static catalog)
  • Chat Completions via LiteLLM OpenAI provider
  • DaoXE is not available in mainland China
  • Contributor is affiliated with DaoXE

Test plan

  • Sample imports cleanly
  • Optional: `adk web` / main with real DaoXE key + model ID

@google-cla

google-cla Bot commented Jul 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@adk-bot adk-bot added the models [Component] This issue is related to model support label Jul 15, 2026
Add hello_world_daoxe sample using LiteLlm(model=openai/<account-id>)
with OPENAI_API_BASE=https://daoxe.com/v1. Account-scoped model IDs.

Signed-off-by: seven7763 <246023385+seven7763@users.noreply.github.com>
@seven7763 seven7763 force-pushed the samples/daoxe-openai-compatible-litellm branch from bfe6ce3 to e36910c Compare July 15, 2026 20:52
@seven7763

Copy link
Copy Markdown
Author

Google CLA: I will complete signing at https://cla.developers.google.com/ if not already on file for this GitHub account.

@rohityan rohityan added the request clarification [Status] The maintainer need clarification or more information from the author label Jul 16, 2026
@rohityan

Copy link
Copy Markdown
Collaborator

Hi @seven7763 , Thank you for your contribution! It appears you haven't yet signed the Contributor License Agreement (CLA). Please visit https://cla.developers.google.com/ to complete the signing process. Once the CLA is signed, we'll be able to proceed with the review of your PR. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

models [Component] This issue is related to model support request clarification [Status] The maintainer need clarification or more information from the author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants