Skip to content

v2.5.0

Latest

Choose a tag to compare

@robkooper robkooper released this 22 Nov 05:37
· 11 commits to main since this release

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/embeddings for 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 have output_modalities: [] and stay in chat until you run Update again. (#681)
  • lumen.sh saves base_url, api_key and the --shell/--opencode/--copilot/--embed-key choices to ~/.config/lumen/config.ini as next-run defaults, and adds --shell/--no-shell; scripts/claude.sh and scripts/rag.py read the same file. (#699)
  • Help page for scripts/rag.py, a small RAG helper that embeds your files through /v1/embeddings and 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_million now bills cache writes at 0 instead of the input price; set it explicitly to keep the 2.4.0 charge. An unset cached_input_cost_per_million still 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 metadata lists) that don't match the OpenAI SDK types; the response is passed through unchanged. (#693)

Removed

  • Remove the sync_models.py script; use Update All (or Update per model) in the admin config editor to refresh model metadata from the backends and models.dev. (#706)

Contributors