Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 4c173af

Browse files
committed
fix: add taskHistoryRetention default to initial state to fix persistence race condition
1 parent c9cb00e commit 4c173af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
277277
openRouterImageGenerationSelectedModel: "",
278278
includeCurrentTime: true,
279279
includeCurrentCost: true,
280+
taskHistoryRetention: "never", // Default to never auto-delete
280281
})
281282

282283
const [didHydrateState, setDidHydrateState] = useState(false)

0 commit comments

Comments
 (0)