mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
hotfix: respect user-defined model group name (#6174)
This commit is contained in:
parent
783bdc40a6
commit
9879a02ca8
@ -53,7 +53,7 @@ const PopupContainer: React.FC<Props> = ({ title, provider, resolve }) => {
|
||||
id,
|
||||
provider: provider.id,
|
||||
name: values.name ? values.name : id.toUpperCase(),
|
||||
group: getDefaultGroupName(values.group || id)
|
||||
group: values.group ?? getDefaultGroupName(id)
|
||||
}
|
||||
|
||||
addModel(model)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user