Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/agent-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const DEFAULT_TOPIC =
const topic = process.argv[2]?.trim() || DEFAULT_TOPIC;
const threadId = process.argv[3]?.trim() || `e2e-acids-bases-01`;
const userId = "e2e-user";
const model = resolveLessonModel(undefined); // repo default (GPT 5.6 Luna)
const model = resolveLessonModel(undefined); // repo default (GLM 5.3 Flash)

// A real chat is many turns; a request is capped at LESSON_MAX_STEPS. Here we
// want one autonomous build, so we give a generous per-turn step budget and, as
Expand Down
8 changes: 4 additions & 4 deletions src/mastra/agents/lesson-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* app to one model — stored settings and request bodies naming a removed model
* fall back to the default rather than erroring.
*
* Currently OpenAI GPT 5.6 Luna only, and the composer no longer offers a
* Currently z.ai GLM 5.3 Flash only, and the composer no longer offers a
* picker. Re-enabling choice means adding entries here, restoring a dropdown
* in `prompt-box.tsx`, and sending the choice as `model` in the chat request
* body — the route still runs `resolveLessonModel(body.model)`, so the server
* side needs no change.
*/
export const LESSON_MODELS = [
{
id: "vercel/openai/gpt-5.6-luna",
label: "GPT 5.6 Luna",
description: "Default. Thinks it through.",
id: "vercel/zai/glm-5.3-flash",
label: "GLM 5.3 Flash",
description: "Default. Fast and to the point.",
},
] as const;

Expand Down
Loading