Repository navigation
Upgrade: speech-to-text models must have audio in input_modalities (the audio input box in the config editor, or config.yaml), or /v1/audio/transcriptions and /v1/audio/translations return 400. /v1/chat/completions, /v1/completions, /v1/messages and /v1/audio/* also return 400 for models marked as embedding (output_modalities: ["embedding"]) instead of forwarding the call to the backend. An unset cache_write_cost_per_million now bills cache writes at 0 instead of the input price; set it explicitly to keep the 2.4.0 charge. (#678, #721)
Added
POST /v1/embeddingsfor embedding models, billed per input token at the model's input price; embedding models are hidden from chat and the OpenCode config. Embedding models synced by 2.4.0 haveoutput_modalities: []and stay in chat until you run Update again. (#681)lumen.shsavesbase_url,api_keyand the--shell/--opencode/--copilot/--embed-keychoices to~/.config/lumen/config.inias next-run defaults, and adds--shell/--no-shell;scripts/claude.shandscripts/rag.pyread the same file. (#699)- Help page for
scripts/rag.py, a small RAG helper that embeds your files through/v1/embeddingsand answers questions about them. (#699, #722)
Changed
- Redesign the Models page as a dashboard with summary cards that filter the list, sortable columns and expandable model rows. (#694)
- Models page shows context window and max output in 1024-based K/M units, or 1000-based when the value is round in decimal. (#714)
- Models page shows an Acknowledge, early access or (when both are pending) Accept & Enable button on rows with a pending requirement, and per-requirement buttons in the expanded row in place of the acceptance date. (#720)
- An unset
cache_write_cost_per_millionnow bills cache writes at 0 instead of the input price; set it explicitly to keep the 2.4.0 charge. An unsetcached_input_cost_per_millionstill means the input price. (#678) - POST /v1/chat/completions, /v1/completions, /v1/messages and /v1/audio/* now refuse embedding models with a 400 instead of forwarding the call to the backend, and /v1/audio/* also refuses models whose input modalities do not include audio; the docs now name the endpoints that check these markers. (#721)
- Buttons, nav, outlines and usage charts now use the active theme's primary colour instead of Illinois navy in the UIC, UIS and default themes; browsers without
color-mix()keep readable primary-button states and a visible keyboard focus ring. (#709)
Fixed
- Fix models.dev prices not being applied to new models in the config editor, and retry an unreachable models.dev sooner. (#680)
- Stop logging a Pydantic serializer warning when a backend returns values (e.g. chat
metadatalists) that don't match the OpenAI SDK types; the response is passed through unchanged. (#693)
Removed
- Remove the
sync_models.pyscript; use Update All (or Update per model) in the admin config editor to refresh model metadata from the backends and models.dev. (#706)