forked from phoenix/litellm-mirror
build(ui/create_key_button.tsx): support adding tags for cost tracking/routing when making key
This commit is contained in:
parent
d81ae45827
commit
7ae5d51964
1 changed files with 9 additions and 0 deletions
|
@ -355,6 +355,15 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
|||
placeholder="Enter metadata as JSON"
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item label="Tags" name="tags" className="mt-8" help={`Tags for tracking spend and/or doing tag-based routing.`}>
|
||||
<Select
|
||||
mode="tags"
|
||||
style={{ width: '100%' }}
|
||||
placeholder="Enter tags"
|
||||
tokenSeparators={[',']}
|
||||
open={false}
|
||||
/>
|
||||
</Form.Item>
|
||||
</AccordionBody>
|
||||
</Accordion>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue