Update MiniMax structured generation fallback (#1955)

Prefer MiniMax M3 for metadata generation and align the related docs/tests with the newer provider model.

Co-authored-by: octo-patch <266937838+octo-patch@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Octopus
2026-07-09 18:26:12 +00:00
committed by GitHub
co-authored by octo-patch Claude Opus 4.7
parent ebaecace2b
commit 15d3091104
4 changed files with 5 additions and 5 deletions
@@ -68,7 +68,7 @@ describe("resolveStructuredGenerationProviders", () => {
status: READY,
enabled: true,
models: [
{ provider: "router", id: "minimax-m2.5-free", label: "MiniMax M2.5", isDefault: true },
{ provider: "router", id: "minimax-m3-free", label: "MiniMax M3", isDefault: true },
{ provider: "router", id: "nemotron-3-super-free", label: "Nemotron 3 Super" },
],
},
@@ -87,7 +87,7 @@ describe("resolveStructuredGenerationProviders", () => {
expect(providers).toEqual([
{ provider: "work-claude", model: "claude-haiku-2026" },
{ provider: "work-codex", model: "gpt-5.4-mini-2026", thinkingOptionId: "low" },
{ provider: "router", model: "minimax-m2.5-free" },
{ provider: "router", model: "minimax-m3-free" },
{ provider: "router", model: "nemotron-3-super-free" },
{ provider: "focused-provider", model: "focused-model", thinkingOptionId: "high" },
]);
@@ -25,7 +25,7 @@ export const DEFAULT_STRUCTURED_GENERATION_PROVIDERS: readonly StructuredGenerat
[
{ modelSubstring: "haiku" },
{ modelSubstring: "gpt-5.4-mini", thinkingOptionId: "low" },
{ modelSubstring: "minimax-m2.5" },
{ modelSubstring: "minimax-m3" },
{ modelSubstring: "nemotron-3-super" },
] as const;