Add remote OpenAI-compatible OpenChat example (DaoXE)#1307
Open
seven7763 wants to merge 1 commit into
Open
Conversation
Document how to point register_open_chat_model at a remote Chat Completions base URL (https://daoxe.com/v1) with env-based API key and model ID, alongside the existing LM Studio local path.
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
solutions/models/using-daoxe-remote.py, a self-contained example that registers a remote OpenAI-compatible Chat Completions endpoint via existingModelCatalog().register_open_chat_model(..., api_base=...)(same path as LM Studio / local OpenChat).docs/components/model_catalog.mdwith a short “remote OpenAI-compatible endpoint” section pointing at that example.DAOXE_API_KEY,DAOXE_MODEL, optionalDAOXE_BASE_URL(defaulthttps://daoxe.com/v1). No hardcoded model IDs (catalog / account-dependent).DaoXE is a multi-model, multi-protocol API gateway (OpenAI Chat Completions / Responses and Anthropic Messages / Claude protocol, plus other catalog endpoints). This PR only documents the OpenAI-compatible surface that llmware’s
OpenChatModelalready supports—no core library changes.Why this fits
llmware already documents local OpenAI-compatible servers (LM Studio) via
register_open_chat_model. Remote gateways use the same API; this example makes that explicit for contributors who want cloud multi-model access without changing llmware internals.How to try
Notes
Test plan
python3 -m py_compile solutions/models/using-daoxe-remote.pysolutions/models/References
solutions/models/using-open-chat-models.py