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

Ishaan Jaff558c37ca06fe
diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx
index cce52ab3d9f..c94acc44867 100644
--- a/ui/litellm-dashboard/src/components/create_key_button.tsx
+++ b/ui/litellm-dashboard/src/components/create_key_button.tsx
@@ -274,11 +274,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
message.success("API Key Created");
form.resetFields();
localStorage.removeItem("userData" + userID);
-
- // We don't need to call refresh anymore since we're directly updating the state
- // if (window.refreshKeysList) {
- // window.refreshKeysList();
- // }
+
} catch (error) {
console.log("error in create key:", error);
message.error(`Error creating the key: ${error}`);