✦ Write
◈ Preferences
⬡ Log
0 words
0 history entries
clear
API Connection
Access token
A shared secret your Worker checks. Leave blank if unused.
Debug: external history database
Database URL
A JSON file of {trigger, continuation} records. Loaded into a separate IndexedDB; never touches your local history.
Load database from URL
Not loaded.
Use loaded database (override)
Few-shot uses the loaded DB instead of your local history
When to suggest
Trigger mode
When should the app ask the AI for a suggestion?
Every N inputs (recommended)
Every character
End of word
After a pause
End of sentence
Inputs between suggestions
3
After this many keystrokes, request a new suggestion. Ignores text length.
Pause length
1.2s
Wait this long without typing before triggering.
Minimum characters typed
Don't suggest until at least this many characters exist. Avoids wasted API calls at the start.
3
History search (few-shot)
Search key
What chunk of recent text is used to find matching examples from your history?
Last 3 chars
Last 5 chars
Last word
Last 2 words
Continuation length
50
chars
How many characters after the match to store and show as examples.
Max few-shot examples
5
How many history matches to send to the AI. More = smarter but slower.
Match strategy
How strictly to match history entries. "Top-N best" ranks every record by suffix-overlap score and returns the highest scoring ones.
Exact suffix
Word prefix
Fuzzy (slower)
Any overlap
Top-N best (ranked)
History snapshot interval
every 10 chars
How often to save a new history entry as you type.
Suggestions display
Suggestion length
~8 words
How long each suggested completion should be.
Show loading indicator
Dot animation while waiting for AI
Dwell to accept
Accept suggestion by hovering (eye tracking)
Dwell duration
1.0s
How long to hover before accepting.
AI behaviour
Completion style
Natural
Brief
Full sentence
Next phrase
Context window
4000
chars
How much of the current text to send to the AI for context.
AI model
Claude Haiku 4.5 (fastest)
Claude Sonnet 4
Claude Opus 4 (smartest)
Use history as few-shot
Send matching examples from your history
Cache-aware requests
Prompt structure keeps history examples stable to improve speed (prompt caching)
Privacy & data
Store history locally
Saves text patterns to IndexedDB on this device
Auto-save notes
Saves current note locally every 30 seconds
Danger zone
Permanently delete all stored history patterns.
Clear all history data
Save preferences
0 events
clear
No LLM activity yet. Start writing in the editor to see requests here.