fix(ext): save config to storage
This commit is contained in:
@@ -88,6 +88,7 @@ export function useAgent(): UseAgentResult {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const configure = useCallback(async (newConfig: LLMConfig) => {
|
const configure = useCallback(async (newConfig: LLMConfig) => {
|
||||||
|
await chrome.storage.local.set({ llmConfig: newConfig })
|
||||||
setConfig(newConfig)
|
setConfig(newConfig)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user