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(model_dashboard.tsx): move llm credentials closer to add model tab

Krrish Dholakiaeb6ec443b7f5
diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx
index dcc1b9d0d3d..0a9c26ac4a4 100644
--- a/ui/litellm-dashboard/src/components/model_dashboard.tsx
+++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx
@@ -1047,12 +1047,13 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
<div className="flex">
<Tab>All Models</Tab>
<Tab>Add Model</Tab>
+ <Tab>LLM Credentials</Tab>
<Tab>
<pre>/health Models</pre>
</Tab>
<Tab>Model Analytics</Tab>
<Tab>Model Retry Settings</Tab>
- <Tab>LLM Credentials</Tab>
+
</div>
<div className="flex items-center space-x-2">
@@ -1141,6 +1142,9 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
credentials={credentialsList}
/>
</TabPanel>
+ <TabPanel>
+ <CredentialsPanel accessToken={accessToken} uploadProps={uploadProps} credentialList={credentialsList} fetchCredentials={fetchCredentials} />
+ </TabPanel>
<TabPanel>
<Card>
<Text>
@@ -1496,9 +1500,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
Save
</Button>
</TabPanel>
- <TabPanel>
- <CredentialsPanel accessToken={accessToken} uploadProps={uploadProps} credentialList={credentialsList} fetchCredentials={fetchCredentials} />
- </TabPanel>
+
</TabPanels>
</TabGroup>
)}