chore(sponsors): swap AICodeMirror with AstraFlow and lead ai presets
This commit is contained in:
5 files changed
+55
-55
No files matched your search
@@ -458,6 +458,21 @@ export function aiProviderLabel(provider: AiProvider, t: (key: string) => string
|
||||
}
|
||||
|
||||
export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [
|
||||
{
|
||||
id: "aicodemirror",
|
||||
label: "AICodeMirror",
|
||||
iconPath: "/icons/ai/aicodemirror.png",
|
||||
group: "partner",
|
||||
provider: "openai-compatible",
|
||||
endpoint: "https://api.aicodemirror.ai/v1",
|
||||
model: "",
|
||||
apiStyle: "completions",
|
||||
authMethod: "bearer",
|
||||
requiresApiKey: true,
|
||||
websiteUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
|
||||
apiKeyUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
|
||||
descriptionKey: "ai.aicodemirrorDescription",
|
||||
},
|
||||
{
|
||||
id: "jalapeno-cloud",
|
||||
label: "Jalapeno Cloud",
|
||||
@@ -490,21 +505,6 @@ export const AI_PROVIDER_PARTNER_PRESETS: readonly AiPartnerProviderPreset[] = [
|
||||
apiKeyUrl: "https://api.hualong.online/register?promo=DBX%26HUALONG",
|
||||
descriptionKey: "ai.hualongDescription",
|
||||
},
|
||||
{
|
||||
id: "aicodemirror",
|
||||
label: "AICodeMirror",
|
||||
iconPath: "/icons/ai/aicodemirror.png",
|
||||
group: "partner",
|
||||
provider: "openai-compatible",
|
||||
endpoint: "https://api.aicodemirror.ai/v1",
|
||||
model: "",
|
||||
apiStyle: "completions",
|
||||
authMethod: "bearer",
|
||||
requiresApiKey: true,
|
||||
websiteUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
|
||||
apiKeyUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
|
||||
descriptionKey: "ai.aicodemirrorDescription",
|
||||
},
|
||||
];
|
||||
|
||||
function normalizeAiProviderEndpoint(endpoint: string): string {
|
||||
|
||||
Reference in new issue
Block a user