litellm/ui
devin-ai-integration[bot] c8cd885251
feat(ui): add System One (Jev) tab to the playground (#44043)
* feat(ui): add System One (Jev) playground tab

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ui): validate System One inputs and refresh request context

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ui): validate System One response payloads

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ui): fall back to requested model for System One

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(ui): use useMutation and zod schemas for the System One tab, mark it Beta

Replace the hand-written request and response guards with zod schemas, which also
provide the types. Send requests through useMutation instead of manual loading,
error and race-guard state. Unknown spec fields now pass through to the upstream
model, and validation errors point at the exact offending key

* feat(ui): flag the System One tab as a TypeSafe-only beta

* feat(ui): highlighted JSON editor for the System One tab

Line numbers, JSON syntax highlighting through the existing react-syntax-highlighter
dependency, a valid or issue-count status badge, and a compact path plus message issue
list replace the bare textarea and stacked alerts. Answer card type badges now sit on
the header row

* fix(ui): let the System One results scroll to the bottom

The tab panel was viewport height but sat below the tab bar, so its bottom was cut off.
On wide screens the editor and results now scroll independently, answers render above
the question breakdown, and the raw response no longer nests its own scroll area

* feat(ui): color the model, state and questions blocks in the System One editor

Tints each top-level request block in the JSON editor and marks the matching breakdown sections with the same color, so it is clear which part of the payload feeds which panel

* feat(ui): wrap long lines in the System One JSON editor

Long state strings no longer need horizontal scrolling. Each line renders as its own row with its number and block color, so wrapped lines keep their line number and the caret stays aligned

* fix(ui): remove horizontal scrolling from the System One tab

Long unbroken text in the state, question ids, choice labels and the raw response now wraps instead of widening its box

* refactor(ui): replace System One presets with one example and a reset button

The tab now starts with a single product review example that uses all three question types, and Reset example restores it after editing

* refactor(ui): use an issue triage request as the System One example

* fix(ui): type the System One line renderer from exported props

rendererProps is not exported by the react-syntax-highlighter types, which broke the dashboard build

* fix(ui): address System One review feedback

Highlights the score level nearest a fractional calibrated score, keeps extra noul criteria fields in the sent payload, and clears an answer when the request key changes

* refactor(ui): parse System One root blocks without mutation and preview all noul criteria

The root-block finder is now a tokenizer plus a pure reduce, and the question preview lists every noul criterion that will be sent

* refactor(ui): group System One playground files into components and lib

Drops the repeated SystemOne prefix from the inner component files and moves the pure logic (schemas, example, payload validation, root block parsing) into lib/. Tests stay colocated with their files, matching the rest of the dashboard. No behavior change

* feat(ui): link the decision models discussion from the System One beta notice

* feat(ui): ask for decision model feedback in the System One beta notice

* feat(ui): make the decision model feedback text the discussion link

---------

Co-authored-by: ryan <ryan@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-02 20:10:50 +00:00
..
litellm-dashboard feat(ui): add System One (Jev) tab to the playground (#44043) 2026-10-02 20:10:50 +00:00
Dockerfile fix(docker): bump nginx runtime to 1.31.5-alpine3.24 and pin digest to resolve critical CVEs (#39561) 2026-09-03 08:46:07 -07:00
nginx.conf fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp (#37982) 2026-08-24 11:57:36 -07:00