mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-13 11:02:32 +00:00
update model select
This commit is contained in:
@@ -286,7 +286,7 @@ export const ComboBoxComponent: React.FC<ComboBoxComponentProps> = ({
|
||||
|
||||
if (isValidProvider(newProvider)) {
|
||||
setModelProvider(newProvider);
|
||||
// 当提供商变更时,清空模型选择并通知父组件
|
||||
// 当提供商变更时,清空模型选择让用户重新选择
|
||||
updateModel(newProvider, '', false);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user