Skip to content

feat: add Novita AI as optional LLM provider#121

Open
Alex-wuhu wants to merge 5 commits intoVectifyAI:mainfrom
Alex-wuhu:novita-integration
Open

feat: add Novita AI as optional LLM provider#121
Alex-wuhu wants to merge 5 commits intoVectifyAI:mainfrom
Alex-wuhu:novita-integration

Conversation

@Alex-wuhu
Copy link

What this PR does

Adds Novita AI as an optional, OpenAI-compatible LLM provider.

Usage: Set NOVITA_API_KEY in your environment to use Novita instead of OpenAI.

Novita provides competitive pricing with the same OpenAI-compatible API endpoint.

Changes

  • Added get_openai_client() helper function
  • Supports both OpenAI (CHATGPT_API_KEY) and Novita (NOVITA_API_KEY)
  • Added .env.example with configuration instructions

Novita AI (https://novita.ai) provides an OpenAI-compatible API
with competitive pricing. This change allows using Novita by setting
the NOVITA_API_KEY environment variable.

Changes:
- Added get_openai_client() helper to support both OpenAI and Novita
- Added NOVITA_API_KEY and NOVITA_BASE_URL support
- Added .env.example with Novita configuration
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