Skip to content

v1.1.2 — AI Model Selection

Choose a tag to compare

@ankit2101 ankit2101 released this 05 Mar 10:54
· 50 commits to main since this release

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-frontend dev launcher to use an absolute cwd path (resolves startup issues when Claude Code is run from a different working directory)
  • Updated README: AI model selection docs, corrected SECRET_KEY requirement, 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 Settings
  • 7cf23cb — Fix absolute cwd path for vite-frontend in launch.json
  • 70b2c17 — Docs: update README for AI model selection feature

Full Changelog: v1.1.1...v1.1.2