fix(ext): save config to storage

This commit is contained in:
Simon
2026-02-02 18:48:16 +08:00
parent 5b2a11c0b2
commit 15ea488719

View File

@@ -88,6 +88,7 @@ export function useAgent(): UseAgentResult {
}, [])
const configure = useCallback(async (newConfig: LLMConfig) => {
await chrome.storage.local.set({ llmConfig: newConfig })
setConfig(newConfig)
}, [])