mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-11 03:38:15 +00:00
fix: add taskHistoryRetention default to initial state to fix persistence race condition
This commit is contained in:
parent
c9cb00eb4b
commit
4c173af275
1 changed files with 1 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
|
|||
openRouterImageGenerationSelectedModel: "",
|
||||
includeCurrentTime: true,
|
||||
includeCurrentCost: true,
|
||||
taskHistoryRetention: "never", // Default to never auto-delete
|
||||
})
|
||||
|
||||
const [didHydrateState, setDidHydrateState] = useState(false)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue