Skip to content

feat: add Novita AI as built-in provider#472

Open
Alex-wuhu wants to merge 2 commits intoValueCell-ai:mainfrom
Alex-wuhu:novita-integration
Open

feat: add Novita AI as built-in provider#472
Alex-wuhu wants to merge 2 commits intoValueCell-ai:mainfrom
Alex-wuhu:novita-integration

Conversation

@Alex-wuhu
Copy link

@Alex-wuhu Alex-wuhu commented Mar 13, 2026

Summary

  • Add Novita AI as a built-in compatible provider
  • Endpoint: https://api.novita.ai/openai (OpenAI-compatible)
  • Default model: moonshotai/kimi-k2.5
  • Additional models: zai-org/glm-5, minimax/minimax-m2.5
  • API key via NOVITA_API_KEY env var
  • Includes SVG icon

Files changed

  • electron/shared/providers/types.ts — register novita type
  • electron/shared/providers/registry.ts — provider definition with 3 models
  • src/lib/providers.ts — frontend metadata
  • src/assets/providers/novita.svg + index.ts — SVG icon
  • tests/unit/providers.test.ts — 2 new tests (append only, no rewrite)

Test plan

  • pnpm test -- run tests/unit/providers.test.ts — 11 tests pass
  • pnpm test -- run tests/unit/provider-validation.test.ts — 5 tests pass
  • Manual: add Novita provider in UI, verify key validation works

Register Novita AI with OpenAI-compatible endpoint (https://api.novita.ai/openai).
Default model: moonshotai/kimi-k2.5, also supports zai-org/glm-5 and minimax/minimax-m2.5.
API key via NOVITA_API_KEY env var.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Alex-wuhu Alex-wuhu force-pushed the novita-integration branch from ed1671e to d7bbf9a Compare March 19, 2026 03:43
@Alex-wuhu Alex-wuhu changed the title feat: Add Novita AI provider integration feat: add Novita AI as built-in provider Mar 19, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Alex-wuhu Alex-wuhu marked this pull request as ready for review March 19, 2026 03:51
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