fix: model provider sync

This commit is contained in:
duanfuxiang
2025-04-23 09:19:50 +08:00
parent c40c618311
commit 10970a8803
2 changed files with 9 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ export function LLMProvider({ children }: PropsWithChildren) {
provider: settings.chatModelProvider,
modelId: settings.chatModelId,
}
}, [settings])
}, [settings.chatModelProvider, settings.chatModelId])
// const applyModel = useMemo((): LLMModel => {
// return {