mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* feat(ui): shareable log links via log_id query param on the logs page Clicking a log row now writes ?log_id=<request_id> to the URL, closing the drawer removes it, and loading the logs page with ?log_id= opens the drawer for that log. When the log is not in the loaded page, it is fetched by request_id (the backend already drops the date window for id lookups), so links keep working for logs of any age. Drawer open state derives from the URL, mirroring the models page ?model= pattern. * fix(ui): close the log drawer on browser back after opening via session id Session opens now write ?session_id= to the URL instead of holding local state, so back removes both params and the drawer closes (Greptile P1). Session views become shareable links as a side effect. In-drawer log switching now replaces the history entry instead of pushing, so back always closes the drawer in one step rather than replaying every viewed log. * fix(proxy): scope /spend/logs/session/ui to the requesting user's visible logs Non-admin callers now only receive session rows they could already see on /spend/logs/ui: their own logs plus logs of teams where they hold the spend-logs permission. Previously any authenticated user could read any session's log metadata by id, which shareable ?session_id= links made trivial to trigger. Admin views are unchanged. Also, clicking a log row now clears a lingering ?session_id= from the URL so the drawer shows the clicked log instead of a stale session (Greptile P1). |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||