feat(provider): add Novita AI as LLM provider

Add Novita AI as a new model provider supporting chat, embedding,
and VLLM model types via OpenAI-compatible API endpoint.

- Add NovitaProvider implementation with OpenAI-compatible API
- Register ProviderNovita in provider registry
- Add ModelSourceNovita constant
- Add Novita to frontend fallback provider options
- Add i18n translations for en-US, zh-CN, ru-RU, ko-KR
This commit is contained in:
Alex-wuhu
2026-03-24 20:19:51 +08:00
committed by lyingbug
parent 62e6ae960f
commit f0c6d0752a
8 changed files with 83 additions and 0 deletions
@@ -381,6 +381,17 @@ const fallbackProviderOptions = computed(() => [
description: t('model.editor.providers.nvidia.description'),
modelTypes: ['chat', 'embedding', 'rerank', 'vllm']
},
{
value: 'novita',
label: t('model.editor.providers.novita.label'),
defaultUrls: {
chat: 'https://api.novita.ai/openai/v1',
embedding: 'https://api.novita.ai/openai/v1',
vllm: 'https://api.novita.ai/openai/v1',
},
description: t('model.editor.providers.novita.description'),
modelTypes: ['chat', 'embedding', 'vllm']
},
{
value: 'generic',
label: t('model.editor.providers.generic.label'),