Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(ui): import MCPEvent type into local scope in chat/types.ts (#23330)

Joe Reyna7d2cc4a3bf3d
diff --git a/ui/litellm-dashboard/src/components/chat/types.ts b/ui/litellm-dashboard/src/components/chat/types.ts
index 4c0da7a095e..9b657306db6 100644
--- a/ui/litellm-dashboard/src/components/chat/types.ts
+++ b/ui/litellm-dashboard/src/components/chat/types.ts
@@ -1,4 +1,5 @@
-export type { MCPEvent } from "../mcp_tools/types";
+import type { MCPEvent } from "../mcp_tools/types";
+export type { MCPEvent };
export interface ChatMessage {
id: string;