mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
|
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
* refactor(ui): migrate MCP, callback, guardrail, SSO, and search tool logos to the shared Logo component Third step of the logo consolidation. Every remaining rogue logo pattern now renders through Logo: MCP well-known grid and backend mcp_info.logo_url sites (which previously skipped resolveLogoSrc and broke under non-root mounts), callback maps in callback_info_helpers plus the backend-provided variant in settings.tsx, the guardrail map with the garden dataset now deriving logos from guardrailLogoMap instead of duplicating them, the SSO map deduped from two verbatim copies into SSOSettings/constants.ts, search tools' filename guessing replaced with an explicit static-import map, and the two straggler sites in EntityUsage and model_info_view. Static-map path strings become bundled static imports throughout; backend-provided URLs stay runtime strings resolved via Logo src mode. MCPLogoSelector still stores stable /ui/assets/logos paths so existing DB rows keep matching. okta's logo remains an external hotlink pending a vendored local asset. promptguard.svg drops a mismatched intrinsic dimension attribute for the Turbopack import parser. * fix(ui): make resolveLogoSrc idempotent for values already carrying the server root path Stored mcp_info.logo_url values from sub-path deployments could bake in the deployment root because the old bare img sites did no resolution. Prefixing those again produced /litellm/litellm/... and a fallback avatar. Skip prefixing when the value already starts with the current normalized root segment; paths whose first segment merely begins with the root text still get prefixed. |
||
|---|---|---|
| .. | ||
| logos | ||
| audit-logs-preview.png | ||