mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 09:31:25 +00:00
fix(memory): default qmd searchMode to search + scope search/vsearch to collections
This commit is contained in:
@@ -262,9 +262,10 @@ export class QmdMemoryManager implements MemorySearchManager {
|
||||
}
|
||||
const qmdSearchCommand = this.qmd.searchMode;
|
||||
const args = this.buildSearchArgs(qmdSearchCommand, trimmed, limit);
|
||||
if (qmdSearchCommand === "query") {
|
||||
args.push(...collectionFilterArgs);
|
||||
}
|
||||
|
||||
// Always scope to managed collections (default + custom). Even for `search`/`vsearch`,
|
||||
// pass collection filters; if a given QMD build rejects these flags, we fall back to `query`.
|
||||
args.push(...collectionFilterArgs);
|
||||
let stdout: string;
|
||||
let stderr: string;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user