mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
fix(models): update model IDs in selection matrix for authenticated and unauthenticated speeds
This commit is contained in:
parent
66f524e260
commit
6a51ba6358
@ -18,7 +18,7 @@ const MODEL_SELECTION_MATRIX: Record<
|
||||
> = {
|
||||
dumb: {
|
||||
slow: {
|
||||
authenticated: { modelId: "z-ai/glm-4.5-air:free" },
|
||||
authenticated: { modelId: "z-ai/glm-4.5-air" },
|
||||
unauthenticated: { modelId: "nvidia/nemotron-3-super-120b-a12b" },
|
||||
},
|
||||
fast: {
|
||||
@ -33,7 +33,7 @@ const MODEL_SELECTION_MATRIX: Record<
|
||||
},
|
||||
fast: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
unauthenticated: { modelId: "google/gemini-3.5-flash" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5:nitro" },
|
||||
},
|
||||
},
|
||||
smartest: {
|
||||
@ -43,7 +43,7 @@ const MODEL_SELECTION_MATRIX: Record<
|
||||
},
|
||||
fast: {
|
||||
authenticated: { modelId: "openai/gpt-5.5" },
|
||||
unauthenticated: { modelId: "google/gemini-3.5-flash" },
|
||||
unauthenticated: { modelId: "z-ai/glm-5.2:nitro" },
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -143,7 +143,7 @@ export function createHexclaveMcpHandler(config: { streamableHttpEndpoint: strin
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
quality: "smart",
|
||||
speed: "slow",
|
||||
speed: "fast",
|
||||
tools: ["docs"],
|
||||
systemPrompt: "docs-ask-ai",
|
||||
messages: [{ role: "user", content: question }],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user