mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
feat(providers): add Novita presets and icon across supported apps (#1192)
This commit is contained in:
@@ -959,6 +959,32 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Novita AI",
|
||||
websiteUrl: "https://novita.ai",
|
||||
apiKeyUrl: "https://novita.ai",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "Novita AI",
|
||||
options: {
|
||||
baseURL: "https://api.novita.ai/openai",
|
||||
apiKey: "",
|
||||
},
|
||||
models: {
|
||||
"zai-org/glm-5": { name: "GLM-5" },
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
icon: "novita",
|
||||
iconColor: "#000000",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Nvidia",
|
||||
websiteUrl: "https://build.nvidia.com",
|
||||
|
||||
Reference in New Issue
Block a user