fix(authority): gate vector rebuild jobs

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Sisyphus
2026-05-03 19:27:47 +00:00
parent 8b65fcbdb1
commit fecbd1f2a6
4 changed files with 167 additions and 41 deletions

View File

@@ -608,7 +608,7 @@ export async function onRebuildVectorIndexController(runtime, range = null) {
}
if (jobResult?.error) {
runtime.toastr.warning(
`Authority Job 提交失败,已回退本地重建:${jobResult.error}`,
`Authority Job 提交失败,已回退直接同步重建:${jobResult.error}`,
);
}
}