Skip to content

Commit 20b6f01

Browse files
fix(create_key_button.tsx): working ui controls to set guaranteed throughput/best effort throughput on key
1 parent ff866aa commit 20b6f01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/litellm-dashboard/src/components/organisms/create_key_button.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
820820
</span>
821821
}
822822
name="tpm_limit_type"
823-
initialValue="default"
823+
initialValue={null}
824824
className="mt-4"
825825
>
826826
<Select
@@ -832,7 +832,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
832832
form.setFieldValue('tpm_limit_type', value);
833833
}}
834834
>
835-
<Option value="default" label="Default">
835+
<Option value="best_effort_throughput" label="Default">
836836
<div style={{ padding: '4px 0' }}>
837837
<div style={{ fontWeight: 500 }}>Default</div>
838838
<div style={{ fontSize: '11px', color: '#6b7280', marginTop: '2px' }}>
@@ -891,7 +891,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
891891
</span>
892892
}
893893
name="rpm_limit_type"
894-
initialValue="default"
894+
initialValue={null}
895895
className="mt-4"
896896
>
897897
<Select
@@ -903,7 +903,7 @@ const CreateKey: React.FC<CreateKeyProps> = ({
903903
form.setFieldValue('rpm_limit_type', value);
904904
}}
905905
>
906-
<Option value="default" label="Default">
906+
<Option value="best_effort_throughput" label="Default">
907907
<div style={{ padding: '4px 0' }}>
908908
<div style={{ fontWeight: 500 }}>Default</div>
909909
<div style={{ fontSize: '11px', color: '#6b7280', marginTop: '2px' }}>

0 commit comments

Comments
 (0)