mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(dashboard): include access-group models in team member Allowed Models dropdown
This commit is contained in:
parent
860bc7811d
commit
b2fd9dccd1
1 changed files with 3 additions and 1 deletions
|
|
@ -2393,7 +2393,9 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
|
|||
</span>
|
||||
),
|
||||
type: "multi-select" as const,
|
||||
options: (info.models || []).map((m: string) => ({ label: m, value: m })),
|
||||
options: [...new Set([...(info.models || []), ...(info.access_group_models || [])])].map(
|
||||
(m: string) => ({ label: m, value: m }),
|
||||
),
|
||||
placeholder: "Leave empty to inherit all team models",
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue