Fix garbled text checks and L0 LLM handling

This commit is contained in:
2026-02-06 15:08:20 +08:00
parent 44ca06f9b9
commit 56e30bfe02
9 changed files with 163 additions and 48 deletions

View File

@@ -360,20 +360,20 @@ function initVectorUI() {
};
$('btn-clear-vectors').onclick = () => {
if (confirm('?????????')) postMsg('VECTOR_CLEAR');
if (confirm('确定清空所有向量数据?')) postMsg('VECTOR_CLEAR');
};
$('btn-cancel-vectors').onclick = () => postMsg('VECTOR_CANCEL_GENERATE');
$('btn-export-vectors').onclick = () => {
$('btn-export-vectors').disabled = true;
$('vector-io-status').textContent = '???...';
$('vector-io-status').textContent = '导出中...';
postMsg('VECTOR_EXPORT');
};
$('btn-import-vectors').onclick = () => {
$('btn-import-vectors').disabled = true;
$('vector-io-status').textContent = '???...';
$('vector-io-status').textContent = '导入中...';
postMsg('VECTOR_IMPORT_PICK');
};