feat(sponsors): add AICodeMirror sponsor card and ai provider preset
This commit is contained in:
19 files changed
+79
No files matched your search
@@ -893,6 +893,13 @@ describe("settingsStore AI API key normalization", () => {
|
||||
model: "deepseek-v4.1-flash",
|
||||
models: [{ name: "deepseek-v4.1-flash" }],
|
||||
});
|
||||
expect(AI_PROVIDER_PARTNER_PRESETS.find((preset) => preset.id === "aicodemirror")).toMatchObject({
|
||||
endpoint: "https://api.aicodemirror.ai/v1",
|
||||
provider: "openai-compatible",
|
||||
authMethod: "bearer",
|
||||
requiresApiKey: true,
|
||||
websiteUrl: "https://www.aicodemirror.ai/register?invitecode=DK44NH",
|
||||
});
|
||||
});
|
||||
|
||||
it("uses the mainland MiniMax endpoint only for new zh-CN presets", () => {
|
||||
|
||||
Reference in new issue
Block a user