From 77813ebdf80dcab95223ed1ae92d3ccb83883e2b Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 23 Jun 2025 18:18:36 -0700 Subject: [PATCH] ui - fix linting error --- litellm/model_prices_and_context_window_backup.json | 10 +++++++++- .../src/components/mcp_tools/columns.tsx | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 8d4e5e276e..df91855d25 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -9995,7 +9995,15 @@ "mode": "chat", "supports_tool_choice": true }, - "mistralai/mistral-small-3.1-24b-instruct": { + "openrouter/mistralai/mistral-small-3.1-24b-instruct": { + "max_tokens": 32000, + "input_cost_per_token": 1e-07, + "output_cost_per_token": 3e-07, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_tool_choice": true + }, + "openrouter/mistralai/mistral-small-3.2-24b-instruct": { "max_tokens": 32000, "input_cost_per_token": 1e-07, "output_cost_per_token": 3e-07, diff --git a/ui/litellm-dashboard/src/components/mcp_tools/columns.tsx b/ui/litellm-dashboard/src/components/mcp_tools/columns.tsx index 701aef04fa..92ebd23ebb 100644 --- a/ui/litellm-dashboard/src/components/mcp_tools/columns.tsx +++ b/ui/litellm-dashboard/src/components/mcp_tools/columns.tsx @@ -3,7 +3,7 @@ import { ColumnDef } from "@tanstack/react-table"; import { MCPTool, InputSchema } from "./types"; import { Button, Callout, Icon } from "@tremor/react" -const AuthBanner = ({needsAuth, authValue}) => { +const AuthBanner = ({needsAuth, authValue}: {needsAuth: boolean, authValue?: string | null}) => { if(!needsAuth || (needsAuth && authValue)) { return (