mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
The Chat button in the navbar and the "back to Developer Console" link in ChatPage used the `serverRootPath` module variable directly, which is initialized to "/" and only updated after `getUiConfig` resolves. Since React does not re-render on module variable changes, the links computed their hrefs with the stale default, ignoring any configured SERVER_ROOT_PATH. Both components now call `useUIConfig()` (React Query, cached) to reactively read `server_root_path`, matching the pattern used elsewhere in the UI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||