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:
@@ -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'),
|
||||
|
||||
@@ -2152,6 +2152,10 @@ export default {
|
||||
label: "NVIDIA",
|
||||
description: "deepseek-ai-deepseek-v3_1, nv-embed-v1, rerank-qa-mistral-4b, etc.",
|
||||
},
|
||||
novita: {
|
||||
label: "Novita AI",
|
||||
description: "moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5, qwen/qwen3-embedding-0.6b, etc.",
|
||||
},
|
||||
},
|
||||
},
|
||||
builtinTag: 'Built-in',
|
||||
|
||||
@@ -1622,6 +1622,10 @@ export default {
|
||||
label: "NVIDIA",
|
||||
description: "deepseek-ai-deepseek-v3_1, nv-embed-v1, rerank-qa-mistral-4b, etc.",
|
||||
},
|
||||
novita: {
|
||||
label: "Novita AI",
|
||||
description: "moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5, qwen/qwen3-embedding-0.6b 등",
|
||||
},
|
||||
},
|
||||
},
|
||||
builtinTag: '내장',
|
||||
|
||||
@@ -1468,6 +1468,10 @@ export default {
|
||||
label: "NVIDIA",
|
||||
description: "deepseek-ai-deepseek-v3_1, nv-embed-v1, rerank-qa-mistral-4b, etc.",
|
||||
},
|
||||
novita: {
|
||||
label: "Novita AI",
|
||||
description: "moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5, qwen/qwen3-embedding-0.6b, etc.",
|
||||
},
|
||||
}
|
||||
},
|
||||
builtinTag: 'Built-in'
|
||||
|
||||
@@ -1605,6 +1605,10 @@ export default {
|
||||
label: "NVIDIA",
|
||||
description: "deepseek-ai-deepseek-v3_1, nv-embed-v1, rerank-qa-mistral-4b, etc.",
|
||||
},
|
||||
novita: {
|
||||
label: "Novita AI",
|
||||
description: "moonshotai/kimi-k2.5, zai-org/glm-5, minimax/minimax-m2.5, qwen/qwen3-embedding-0.6b 等",
|
||||
},
|
||||
},
|
||||
},
|
||||
builtinTag: "内置",
|
||||
|
||||
Reference in New Issue
Block a user