feat: 全面补充执行日志(135处)

补日志的模块:
- vector-store.ts: 0→7(init/create/delete/add/search 全覆盖)
- rag.ts: 3→7(initVectorStore/embedBatch/removeDoc/retrieveContext)
- chat-area.ts: 2→5(3个导出函数加日志)
- history-modal.ts: 4→5(打开历史记录)
- kb-modal.ts: 7→8(打开知识库管理)
- header.ts: 5→7(运行中模型状态)
This commit is contained in:
thzxx
2026-04-07 01:47:02 +08:00
parent 60152fb443
commit 9735a1ed38
6 changed files with 26 additions and 10 deletions
+1
View File
@@ -190,6 +190,7 @@ export function openHistoryModal(): void {
(document.querySelector('#historySearchInput') as HTMLInputElement).value = '';
(document.querySelector('#historySearchClear') as HTMLElement).style.display = 'none';
loadHistory();
logSession('打开历史记录');
historyModalEl.style.display = '';
}