feat(ai): add HuaLongAI partner provider preset

This commit is contained in:
t8y2 committed 2026-09-06 12:37:44 +08:00
1 parent 3e82d6d650
commit 450d9fb9ee
12 files changed
+26 -1

No files matched your search

+16
View File
@@ -425,6 +425,22 @@ export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [
apiKeyUrl: "https://www.jalapeno-cloud.ai/dbx",
descriptionKey: "ai.jalapenoDescription",
},
{
id: "hualong-ai",
label: "HuaLongAI",
iconPath: "/icons/ai/hualong-ai.png",
group: "partner",
provider: "openai-compatible",
endpoint: "https://api.hualong.online/v1",
model: "gpt-5.6-terra",
models: [{ name: "gpt-5.6-terra" }],
apiStyle: "completions",
authMethod: "bearer",
requiresApiKey: true,
websiteUrl: "https://api.hualong.online/",
apiKeyUrl: "https://api.hualong.online/",
descriptionKey: "ai.hualongDescription",
},
];
function normalizeAiProviderEndpoint(endpoint: string): string {