forked from phoenix/litellm-mirror
build(ui): ui cleanup
This commit is contained in:
parent
633bd10365
commit
00ad3c687e
11 changed files with 16 additions and 16 deletions
|
@ -63,6 +63,11 @@ const Sidebar: React.FC<SidebarProps> = ({
|
|||
Test Key
|
||||
</Text>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="2" onClick={() => setPage("models")}>
|
||||
<Text>
|
||||
Models
|
||||
</Text>
|
||||
</Menu.Item>
|
||||
{userRole == "Admin" ? (
|
||||
<Menu.Item key="6" onClick={() => setPage("teams")}>
|
||||
<Text>
|
||||
|
@ -82,11 +87,6 @@ const Sidebar: React.FC<SidebarProps> = ({
|
|||
</Text>
|
||||
</Menu.Item>
|
||||
) : null}
|
||||
<Menu.Item key="2" onClick={() => setPage("models")}>
|
||||
<Text>
|
||||
Models
|
||||
</Text>
|
||||
</Menu.Item>
|
||||
<Menu.Item key="8" onClick={() => setPage("settings")}>
|
||||
<Text>
|
||||
Settings
|
||||
|
|
|
@ -387,7 +387,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
</Form.Item>
|
||||
}
|
||||
{
|
||||
selectedProvider == "Azure OpenAI" && <Form.Item
|
||||
(selectedProvider == "Azure OpenAI" || selectedProvider == "OpenAI-Compatible Endpoints (Groq, Together AI, Mistral AI, etc.)") && <Form.Item
|
||||
rules={[{ required: true, message: 'Required' }]}
|
||||
label="API Base"
|
||||
name="api_base"
|
||||
|
@ -443,7 +443,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
<TextInput placeholder="us-east-1"/>
|
||||
</Form.Item>
|
||||
}
|
||||
<Form.Item label="LiteLLM Params" name="litellm_extra_params" tooltip="Actual model name used for making litellm.completion() call." className="mb-0">
|
||||
<Form.Item label="LiteLLM Params" name="litellm_extra_params" tooltip="Optional litellm params used for making a litellm.completion() call." className="mb-0">
|
||||
<TextArea
|
||||
rows={4}
|
||||
placeholder='{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue