add collected models

This commit is contained in:
duanfuxiang
2025-04-24 17:57:31 +08:00
parent ecbe1725aa
commit 2ce1e11c05
4 changed files with 301 additions and 65 deletions

View File

@@ -50,13 +50,6 @@ export function LLMProvider({ children }: PropsWithChildren) {
}
}, [settings.chatModelProvider, settings.chatModelId])
// const applyModel = useMemo((): LLMModel => {
// return {
// provider: settings.applyModelProvider,
// modelId: settings.applyModelId,
// }
// }, [settings])
useEffect(() => {
const manager = new LLMManager(settings)
setLLMManager(manager)