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:
Bilal Godil 2026-06-29 15:08:34 -07:00
parent 6bbc792fb3
commit c354b5fcf2

View File

@ -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: {