Skip to content

feat: add Novita AI as a model provider#4

Open
Alex-wuhu wants to merge 1 commit intoOpenBMB:mainfrom
Alex-wuhu:novita-integration
Open

feat: add Novita AI as a model provider#4
Alex-wuhu wants to merge 1 commit intoOpenBMB:mainfrom
Alex-wuhu:novita-integration

Conversation

@Alex-wuhu
Copy link

Summary

  • Adds novitaai as a new implicit provider using Novita AI's OpenAI-compatible endpoint (https://api.novita.ai/openai)
  • Auto-discovered when NOVITA_API_KEY is set in the environment
  • Ships three models from Novita's catalog: moonshotai/kimi-k2.5 (default), zai-org/glm-5, minimax/minimax-m2.5
  • Follows the same pattern as existing providers (moonshot, nvidia, qianfan, etc.)

Files changed

  • src/agents/models-config.providers.static.tsbuildNovitaProvider() + model catalog
  • src/agents/models-config.providers.ts — import, re-export, and SIMPLE_IMPLICIT_PROVIDER_LOADERS entry
  • src/secrets/provider-env-vars.tsnovitaai: ["NOVITA_API_KEY"]
  • src/agents/model-auth-env-vars.tsnovitaai: ["NOVITA_API_KEY"]
  • src/agents/models-config.providers.novitaai.test.ts — provider tests

@Alex-wuhu Alex-wuhu marked this pull request as ready for review March 19, 2026 15:53
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.

1 participant