mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Update ui/litellm-dashboard/src/components/mcp_tools/mcp_server_view.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
6f0f895b5b
commit
6b143f424d
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
|
|||
const { maskedUrl, hasToken } = urlValue ? getMaskedAndFullUrl(urlValue) : { maskedUrl: "—", hasToken: false };
|
||||
|
||||
const coworkServerIdentifier = mcpServer.alias || mcpServer.server_name || mcpServer.server_id;
|
||||
const coworkUrl = `${getProxyBaseUrl()}/${coworkServerIdentifier}/mcp`;
|
||||
const coworkUrl = `${getProxyBaseUrl()}/${encodeURIComponent(coworkServerIdentifier ?? "")}/mcp`;
|
||||
const isUpstreamDelegated = mcpServer.delegate_auth_to_upstream === true;
|
||||
|
||||
const renderUrlWithToggle = (url: string | null | undefined, showFull: boolean) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue