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">
|
<Form.Item label="Key Name" name="key_alias">
|
||||||
<Input />
|
<Input />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="Team ID" name="team_id">
|
<Form.Item
|
||||||
<Input
|
label="Team ID"
|
||||||
placeholder="default team (create a new team)"
|
name="team_id"
|
||||||
defaultValue={team && team["team_alias"] ? team["team_alias"] : ""}
|
initialValue={team ? team["team_id"] : null}
|
||||||
disabled={true}
|
valuePropName="team_id"
|
||||||
/>
|
>
|
||||||
|
<Input value={team ? team["team_alias"] : ""} disabled />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item label="Models" name="models">
|
<Form.Item label="Models" name="models">
|
||||||
<Select
|
<Select
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue