mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
feat(authority): add Trivium vector primary adapter
This commit is contained in:
@@ -589,7 +589,10 @@ export async function onRebuildVectorIndexController(runtime, range = null) {
|
||||
try {
|
||||
const result = await runtime.syncVectorState({
|
||||
force: true,
|
||||
purge: runtime.isBackendVectorConfig(config) && !range,
|
||||
purge:
|
||||
!range &&
|
||||
(runtime.isBackendVectorConfig(config) ||
|
||||
runtime.isAuthorityVectorConfig?.(config)),
|
||||
range,
|
||||
signal: vectorController.signal,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user