litellm/ui
yuneng-jiang d8f71d7bdb
fix(ui): keep completion-mode models in the playground chat dropdown (backport to rc/1.98.0) (#37955)
* fix(ui): keep completion-mode models in the playground chat dropdown (#37954)

PR #36130 added a KNOWN_MODEL_MODES guard to isModelCompatibleWithEndpoint
that hides any model whose mode isn't in the ModelMode enum, to keep
rerank/ocr/batch/etc. models out of chat-style endpoints. mode: completion
(legacy text-completion models) wasn't in that enum, so it got caught by
the same guard and disappeared from every endpoint, including chat, where
it routes fine.

Add ModelMode.COMPLETION and map it to EndpointType.CHAT like the other
chat-compatible modes.

(cherry picked from commit 1c421f3578)

* chore: update Next.js build artifacts (2026-08-22 18:42 UTC, node v24.19.0)
2026-08-22 11:47:53 -07:00
..
litellm-dashboard fix(ui): keep completion-mode models in the playground chat dropdown (backport to rc/1.98.0) (#37955) 2026-08-22 11:47:53 -07:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00