Skip to content

docs: add Novita AI to openai_compatible backend examples - #214

Open
jax-novita wants to merge 1 commit into
microsoft:mainfrom
jax-novita:add-novita-provider
Open

docs: add Novita AI to openai_compatible backend examples#214
jax-novita wants to merge 1 commit into
microsoft:mainfrom
jax-novita:add-novita-provider

Conversation

@jax-novita

Copy link
Copy Markdown

Summary

Adds Novita AI as an example provider for the existing openai_compatible backend, 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 the OPENAI_COMPATIBLE_* section

Verification

  • python -m pytest tests/test_openai_compatible_backend.py -q: 4 passed
  • python -m pytest tests/ -q: 898 passed, 6 skipped (pre-existing openpyxl-related skip unrelated to this change)
  • python -m mkdocs build --strict: passed
  • Manually exercised skillopt.model.chat_optimizer() against https://api.novita.ai/openai/v1 with zai-org/glm-5.2, confirming a non-empty response and usage accounting

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.
@Yif-Yang

Copy link
Copy Markdown
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 openai_compatible backend, and we do not have any technical changes to request.

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.

@jax-novita

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Novita"

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.

2 participants