docs(samples): add DaoXE OpenAI-compatible model provider sample#290
Open
seven7763 wants to merge 1 commit into
Open
docs(samples): add DaoXE OpenAI-compatible model provider sample#290seven7763 wants to merge 1 commit into
seven7763 wants to merge 1 commit into
Conversation
Add a model-providers tutorial for DaoXE (https://daoxe.com/v1) using Strands OpenAIModel: CLI script + notebook, account-scoped model IDs, multi-protocol note, and mainland China availability note.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a model-providers tutorial for DaoXE under
python/01-learn/03-model-providers/04-daoxe-model/, following the existing OpenAI/LiteLLM sample style.https://daoxe.com/v1strands.models.openai.OpenAIModel(no separate package)DAOXE_MODEL_ID/ dashboard /GET /v1/models)seven7763)Related docs PR on the monorepo: strands-agents/harness-sdk#3218
(
strands-agents/sdk-pythonredirects toharness-sdk; this samples PR is the complementary runnable example.)Why
Strands already documents OpenAI-compatible gateways. DaoXE is a multi-model multi-protocol gateway users can point at with
base_url=https://daoxe.com/v1.Test plan
python/01-learn/03-model-providers/04-daoxe-model/requirements.txtinstallsstrands-agents[openai]+ toolsOpenAIModel(client_args={api_key, base_url}, model_id=...)DAOXE_API_KEY+ account model idI maintain DaoXE. Examples: https://github.com/seven7763/DaoXE-AI