Files
Shane MaynardandClaude Fable 5 5efaeb63c9
Test and deploy / test-and-deploy (push) Successful in 49s
Add admin LLM model setting; rename Pi to LLM in the UI; drop table Review column
- New server/llm.js consolidates ModelRuntime + model selection: admin
  setting (app_settings.llm_model) > LLM_MODEL/PREFILL_MODEL env > first
  available; used by both prefill and roast evaluation
- GET/PUT /api/admin/llm lists configured models and stores the choice
  (validated against the list; empty = auto; audited); admin page gains
  an LLM section with a model picker
- All user-facing 'Pi agent' wording is now 'LLM'; no_model error message
  no longer references the pi CLI
- /roasts table: Review column removed (review lives in the detail view)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-08 22:12:42 -04:00

4 lines
209 B
SQL

-- Additive only. Admin-selectable LLM model ("provider:id") for prefill and roast reviews;
-- empty means auto (first available configured model).
INSERT INTO app_settings(key,value) VALUES ('llm_model','');