Skip to content

feat(model): switch the locked lesson model to z.ai GLM 5.3 Flash - #3

Merged
builtbyrishabh merged 1 commit into
mainfrom
feat/glm-5-3-flash
Sep 1, 2026
Merged

builtbyrishabh merged 1 commit into
mainfrom
feat/glm-5-3-flash

Conversation

@builtbyrishabh

Copy link
Copy Markdown
Owner

Swaps the single allow-listed model from vercel/openai/gpt-5.6-luna to vercel/zai/glm-5.3-flash (slug verified against the live AI Gateway /v1/models list).

  • No server-side changes needed: resolveLessonModel falls back to the new default for any old model id arriving in a request body or stored settings.
  • pnpm typecheck and pnpm test green.
  • ⚠️ PDF/attachment behavior is model-specific — worth running LIVE_MODEL=1 ... npx vitest run lesson-agent.live before relying on chapter-PDF uploads with GLM.

Merging this to main ships it to production.

🤖 Generated with Claude Code

vercel/openai/gpt-5.6-luna -> vercel/zai/glm-5.3-flash, verified against
the live AI Gateway model list. resolveLessonModel means any stored or
requested Luna id falls back to the new default automatically.

Note: PDF/attachment behavior is model-specific (see CLAUDE.md on Grok
and Muse Spark) — run the lesson-agent.live attachment test before
relying on chapter-PDF uploads with this model.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessonplay-mastra Error Error Sep 1, 2026 5:48am UTC

@builtbyrishabh
builtbyrishabh merged commit 94e1aa2 into main Sep 1, 2026
4 of 5 checks passed
builtbyrishabh added a commit that referenced this pull request Sep 1, 2026

This branch had an error being deployed

1 failed deployment
Preview — 8288f2c3 Deployed Sep 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant