forked from phoenix/litellm-mirror
(feat) use team_id when creating keys
This commit is contained in:
parent
b54e2f23a8
commit
9a3201a321
1 changed files with 8 additions and 6 deletions
|
@ -127,13 +127,15 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
|||
<Form.Item label="Key Name" name="key_alias">
|
||||
<Input />
|
||||
</Form.Item>
|
||||
<Form.Item label="Team ID" name="team_id">
|
||||
<Input
|
||||
placeholder="default team (create a new team)"
|
||||
defaultValue={team && team["team_alias"] ? team["team_alias"] : ""}
|
||||
disabled={true}
|
||||
/>
|
||||
<Form.Item
|
||||
label="Team ID"
|
||||
name="team_id"
|
||||
initialValue={team ? team["team_id"] : null}
|
||||
valuePropName="team_id"
|
||||
>
|
||||
<Input value={team ? team["team_alias"] : ""} disabled />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label="Models" name="models">
|
||||
<Select
|
||||
mode="multiple"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue