Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

feat: upgrade MiniMax default model to M3

octo-patcha41c6d33db6e
diff --git a/src/components/settings/llm-presets.ts b/src/components/settings/llm-presets.ts
index aca9be9f..add264cc 100644
--- a/src/components/settings/llm-presets.ts
+++ b/src/components/settings/llm-presets.ts
@@ -331,11 +331,13 @@ export const LLM_PRESETS: LlmPreset[] = [
hint: "api.minimax.io/anthropic",
provider: "custom",
baseUrl: "https://api.minimax.io/anthropic",
- defaultModel: "MiniMax-M2.7",
+ defaultModel: "MiniMax-M3",
apiMode: "anthropic_messages",
- // Current-gen only. M2 and M2.1 are legacy and being retired —
- // users who need them can type the id into the custom input.
- suggestedModels: ["MiniMax-M2.7", "MiniMax-M2.5"],
+ // M3 is the current-gen default; M2.7 stays as a fallback for users
+ // pinned to it. Older M2.5 / M2.1 / M2 are legacy and have been
+ // dropped — users who still need them can type the id into the
+ // custom input.
+ suggestedModels: ["MiniMax-M3", "MiniMax-M2.7"],
suggestedContextSize: 200000,
},
{
@@ -344,9 +346,9 @@ export const LLM_PRESETS: LlmPreset[] = [
hint: "api.minimaxi.com/anthropic",
provider: "custom",
baseUrl: "https://api.minimaxi.com/anthropic",
- defaultModel: "MiniMax-M2.7",
+ defaultModel: "MiniMax-M3",
apiMode: "anthropic_messages",
- suggestedModels: ["MiniMax-M2.7", "MiniMax-M2.5"],
+ suggestedModels: ["MiniMax-M3", "MiniMax-M2.7"],
suggestedContextSize: 200000,
},
{
diff --git a/src/lib/__tests__/llm-providers.test.ts b/src/lib/__tests__/llm-providers.test.ts
index 091ddc33..6a4a5cf8 100644
--- a/src/lib/__tests__/llm-providers.test.ts
+++ b/src/lib/__tests__/llm-providers.test.ts
@@ -47,7 +47,7 @@ function buildMiniMaxProviderConfig(config: LlmConfig) {
const makeConfig = (overrides: Partial<LlmConfig> = {}): LlmConfig => ({
provider: "minimax",
apiKey: "test-key",
- model: "MiniMax-M2.7",
+ model: "MiniMax-M3",
ollamaUrl: "http://localhost:11434",
customEndpoint: "",
maxContextSize: 204800,
@@ -91,9 +91,9 @@ describe("MiniMax Provider", () => {
})
it("carries the model in the body", () => {
- const cfg = buildMiniMaxProviderConfig(makeConfig({ model: "MiniMax-M2.7" }))
+ const cfg = buildMiniMaxProviderConfig(makeConfig({ model: "MiniMax-M3" }))
const body = cfg.buildBody([]) as Record<string, unknown>
- expect(body.model).toBe("MiniMax-M2.7")
+ expect(body.model).toBe("MiniMax-M3")
})
it("separates system messages from conversation (Anthropic convention)", () => {