mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
create a set for unique options (#12074)
This commit is contained in:
parent
58dda44fda
commit
0ba4dde659
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
|
|||
<Select.Option key="all-proxy-models" value="all-proxy-models">
|
||||
All Proxy Models
|
||||
</Select.Option>
|
||||
{userModels.map((model, idx) => (
|
||||
{Array.from(new Set(userModels)).map((model, idx) => (
|
||||
<Select.Option key={idx} value={model}>
|
||||
{getModelDisplayName(model)}
|
||||
</Select.Option>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue