v1.1.2 — AI Model Selection
What's New
✨ AI Model Selection
Admins can now switch between Claude models directly from the Settings page — no server restart required.
- Claude Haiku (
claude-haiku-4-5-20251001) — Fast and economical; ideal for most classrooms - Claude Sonnet (
claude-sonnet-4-5-20251015) — More capable; richer question generation and deeper answer feedback
The active model is stored in the database and takes effect immediately for all new question generation and answer evaluation. Previously cached questions are unaffected until manually regenerated.
🛠 Fixes & Improvements
- Fixed
vite-frontenddev launcher to use an absolutecwdpath (resolves startup issues when Claude Code is run from a different working directory) - Updated README: AI model selection docs, corrected
SECRET_KEYrequirement, added new API endpoints, updated tech stack
New API Endpoints
| Method | URL | Description |
|---|---|---|
GET |
/api/admin/model-config |
Returns available models and the currently active model |
POST |
/api/admin/save-model |
Switches the active Claude model |
Upgrade Notes
No database migrations required. The model selection defaults to claude-haiku-4-5-20251001 until changed via Admin Panel → Settings → AI Model.
Commits
0efc831— Add Claude model selection to Admin Settings7cf23cb— Fix absolute cwd path for vite-frontend in launch.json70b2c17— Docs: update README for AI model selection feature
Full Changelog: v1.1.1...v1.1.2