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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(columns.tsx): add llm credentials column on model table
Krrish Dholakiae1a33a22b414
diff --git a/ui/litellm-dashboard/src/components/model_dashboard/columns.tsx b/ui/litellm-dashboard/src/components/model_dashboard/columns.tsxindex 61048fa3b55..78043a574b9 100644--- a/ui/litellm-dashboard/src/components/model_dashboard/columns.tsx+++ b/ui/litellm-dashboard/src/components/model_dashboard/columns.tsx@@ -188,6 +188,29 @@ export const columns = ();},},+ {+ header: "Credentials",+ accessorKey: "litellm_credential_name",+ cell: ({ row }) => {+ const model = row.original;+ return model.litellm_params.litellm_credential_name ? (+ <div className="overflow-hidden">+ <Tooltip title={model.litellm_params.litellm_credential_name}>+ <Button+ size="xs"+ variant="light"+ className="font-mono text-blue-500 bg-blue-50 hover:bg-blue-100 text-xs font-normal px-2 py-0.5 text-left overflow-hidden truncate max-w-[200px]"+ onClick={() => setSelectedTeamId(model.model_info.team_id)}+ >+ {model.litellm_params.litellm_credential_name.slice(0, 7)}...+ </Button>+ </Tooltip>+ </div>+ ) : (+ "-"+ );+ },+ },{header: "Status",accessorKey: "model_info.db_model",diff --git a/ui/litellm-dashboard/src/components/model_dashboard/types.ts b/ui/litellm-dashboard/src/components/model_dashboard/types.tsindex 04ecc1f0098..67802c456b1 100644--- a/ui/litellm-dashboard/src/components/model_dashboard/types.ts+++ b/ui/litellm-dashboard/src/components/model_dashboard/types.ts@@ -13,6 +13,7 @@ export interface LiteLLMParams {input_cost_per_token?: number;output_cost_per_token?: number;custom_llm_provider?: string;+ litellm_credential_name?: string;[key: string]: any;}@@ -41,4 +42,4 @@ export interface ModelDashboardProps {setModelData: (data: any) => void;premiumUser: boolean;teams: any[];-}\ No newline at end of file+}