Skip to content

v2.5.0

Choose a tag to compare

@SmetDenis SmetDenis released this 22 Jul 11:29
· 24 commits to main since this release
b88533d
  • Workspace/custom models now infer context size and cost from their base model. Context-window and cost matching previously keyed on the top-level model id, which for a custom model / "agent" is an arbitrary label (e.g. research) that matches no context/price table — so context % and estimated/native cost silently went blank unless you mapped the agent id by hand. Both now resolve the model's base_model_id (the real underlying LLM — the same id the model-name metric shows and the one Open WebUI itself calls) and fall back to the top-level id only when there is no base. A single context_size_map / price_map entry keyed on the base model now covers every agent built on it; direct base models are unaffected (no base_model_id → their own id is used). The debug_mode payload's model.resolved_id and provider guess now reflect the id actually used for matching.