docs: add Novita AI to openai_compatible backend examples - #214
Open
jax-novita wants to merge 1 commit into
Open
docs: add Novita AI to openai_compatible backend examples#214jax-novita wants to merge 1 commit into
jax-novita wants to merge 1 commit into
Conversation
Novita AI exposes an OpenAI-compatible Chat Completions endpoint (https://api.novita.ai/openai/v1), so it can use the existing openai_compatible backend without code changes, same as DeepSeek/Groq/ Together AI already listed here.
Contributor
|
Thanks for the contribution and for including both the focused/full test results and a real API verification. This is a clean use of the existing The only remaining blocker is the Microsoft CLA check. Please complete it using the policy bot’s instructions above; once it passes, we will be happy to merge this PR. |
Author
|
@microsoft-github-policy-service agree company="Novita" |
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 Novita AI as an example provider for the existing
openai_compatiblebackend, alongside DeepSeek, Groq, and Together AI. Novita AI exposes an OpenAI-compatible endpoint, so no new backend module or registration is needed.Changes
docs/guide/new-backend.md: add a Novita AI row to the provider examples table.env.example: add a commented Novita AI example block under theOPENAI_COMPATIBLE_*sectionVerification
python -m pytest tests/test_openai_compatible_backend.py -q: 4 passedpython -m pytest tests/ -q: 898 passed, 6 skipped (pre-existingopenpyxl-related skip unrelated to this change)python -m mkdocs build --strict: passedskillopt.model.chat_optimizer()againsthttps://api.novita.ai/openai/v1withzai-org/glm-5.2, confirming a non-empty response and usage accounting