Skip to content

feat: add Novita AI as LLM provider#957

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

feat: add Novita AI as LLM provider#957
Alex-wuhu wants to merge 1 commit intocrestalnetwork:mainfrom
Alex-wuhu:novita-integration

Conversation

@Alex-wuhu
Copy link
Copy Markdown

Summary

Adds Novita AI as a first-class LLM provider alongside OpenAI, Google, DeepSeek, xAI, OpenRouter, MiniMax, and Ollama.

Changes:

  • intentkit/models/llm.py — new LLMProvider.NOVITA enum value, NovitaLLM class (OpenAI-compatible endpoint at https://api.novita.ai/openai), wired into create_llm_model() factory
  • intentkit/models/llm.csv — 3 models: moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5
  • intentkit/config/config.pyNOVITA_API_KEY env var
  • intentkit/models/llm_picker.pymoonshotai/kimi-k2.5 added to pick_default_model() priority list
  • .env.exampleNOVITA_API_KEY=
  • tests/core/test_llm.pynovita_api_key = None added to all config mocks

Setup

NOVITA_API_KEY=<your-key>

Models become available immediately once the key is set. All three models support function calling and structured output.

- Add LLMProvider.NOVITA enum value
- Add NovitaLLM class using langchain_openai ChatOpenAI with https://api.novita.ai/openai
- Register NOVITA_API_KEY in Config
- Add 3 models to llm.csv: moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5
- Add kimi-k2.5 to pick_default_model() priority list
- Update .env.example with NOVITA_API_KEY
- Update test mocks to include novita_api_key = None
@Alex-wuhu Alex-wuhu marked this pull request as ready for review March 22, 2026 12:40
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