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]

ui fix linting

Ishaan Jaffd6103c3962a8
diff --git a/ui/litellm-dashboard/src/components/chat_ui/llm_calls/chat_completion.tsx b/ui/litellm-dashboard/src/components/chat_ui/llm_calls/chat_completion.tsx
index 8a157bb8f41..21377fae239 100644
--- a/ui/litellm-dashboard/src/components/chat_ui/llm_calls/chat_completion.tsx
+++ b/ui/litellm-dashboard/src/components/chat_ui/llm_calls/chat_completion.tsx
@@ -46,14 +46,15 @@ export async function makeOpenAIChatCompletionRequest(
// For collecting complete response text
let fullResponseContent = "";
let fullReasoningContent = "";
-
+
+ // @ts-ignore
const response = await client.chat.completions.create({
model: selectedModel,
stream: true,
stream_options: {
include_usage: true,
},
- litellm_trace_id: traceId,
+ litellm_trace_id: traceId,
messages: chatHistory as ChatCompletionMessageParam[],
}, { signal });