-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
The problem
Custom prompt enable/disabled checkbox state is not being saved. When I enable a custom prompt and click "Save All", then close and reopen the settings, the prompt reverts to disabled.
Error in Browser Console (Ctrl+Shift+J):
Which Operative System are you using?
Linux Mint 22.2 Cinnamon (Kernel 6.14.0-1019-oem)
Which version of Thunderbird are you using?
Betterbird 140.7.0esr-bb17 (64-bit)
Which version of ThunderAI has the issue?
3.8.0
Which integration are you using?
ollama
Anything in the Thunderbird console logs that might be useful?
Uncaught (in promise) ReferenceError: prefs is not defined
<anonymous> moz-extension://3518c6e4-55d6-4fad-a7a8-504531569714/options/mzta-options.js:332Additional information
Technical Details:
- The WAL file (3647222921wleabcEoxlt-eengsairo.sqlite-wal) is created with 0 bytes when clicking "Save All"
- This indicates the write operation is failing before any data is written
- The main database file timestamp does not update after saving
- Ollama integration is working correctly for AI functionality
Steps to Reproduce:
- Open ThunderAI custom prompts settings
- Enable any custom prompt checkbox (e.g., "Summarise (Compact)")
- Click "Save All" button
- Close settings page
- Reopen custom prompts settings
- Result: The prompt is disabled again
Expected: Settings should persist after saving
Actual: Settings revert to previous state
Reactions are currently unavailable