mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
fix(backend): use paid z-ai/glm-4.5-air slug instead of retired :free variant
OpenRouter discontinued the free tier for z-ai/glm-4.5-air, causing
AI_APICallError ("This model is unavailable for free") on the
dumb/slow/authenticated model path. Switch to the paid slug it
recommends.
This commit is contained in:
parent
6bbc792fb3
commit
c354b5fcf2
@ -19,7 +19,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: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user