fix: correct novita preset endpoint and asset handling

This commit is contained in:
Tam Nhu Tran
2026-03-17 07:02:47 -04:00
parent a1a8cad2b3
commit 94fa96aa81
4 changed files with 21 additions and 6 deletions
+3 -4
View File
@@ -258,16 +258,15 @@ const RAW_PROVIDER_PRESET_DEFINITIONS: readonly ProviderPresetDefinition[] = [
{
id: 'novita',
name: 'Novita AI',
description: 'OpenAI-compatible API (Llama, Mistral, Qwen, and more)',
baseUrl: 'https://api.novita.ai/openai',
description: 'Anthropic-compatible API for Claude Code and CCS profiles',
baseUrl: 'https://api.novita.ai/anthropic',
defaultProfileName: 'novita',
defaultModel: 'deepseek/deepseek-v3.2',
apiKeyPlaceholder: 'YOUR_NOVITA_API_KEY',
apiKeyHint: 'Get your API key at novita.ai',
category: 'alternative',
requiresApiKey: true,
badge: 'OpenAI-compatible',
icon: '/icons/novita.svg',
badge: 'Anthropic-compatible',
},
];