Merge branch 'main' into dev

This commit is contained in:
sijinhui
2024-04-29 11:16:23 +08:00
4 changed files with 20 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ export function useAllModels() {
[configStore.customModels, accessStore.customModels].join(","),
accessStore.defaultModel,
).filter((m) => !configStore.dontUseModel.includes(m.name as any));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
accessStore.customModels,
configStore.customModels,