Commit 63f722b
committed
feat: chat history memory — multi-turn AI conversations with LLM-powered search query refinement
- chatHistory array tracks user/assistant messages (10-turn cap)
- LLM-powered refineSearchQuery() rewrites follow-up queries via M.requestAiTask()
- fallback proper-noun extraction when model is unavailable
- all 5 workers inject history between system prompt and user message
- Clear Chat resets conversation memory
- consolidated worker files to public/ (deleted 6 root-level duplicates)
- fixed worker shadowing bug where public/ copies overrode root source files1 parent 4b269cf commit 63f722b
File tree
15 files changed
+434
-1613
lines changed- changelogs
- js
- public
15 files changed
+434
-1613
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| |||
This file was deleted.
0 commit comments