Skip to content

Commit b3ef330

Browse files
fix(memory-search): correct intervalMinutes help text to mention trigger-based sync
1 parent bcad06d commit b3ef330

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/reference/memory-config.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ Use `provider: "openai-compatible"` for a generic OpenAI-compatible
295295
changed content. This acts as a fallback when the filesystem watcher misses
296296
events.
297297

298-
Set to `0` to disable the periodic interval entirely and rely solely on the
299-
filesystem watcher and trigger-based sync (`onSessionStart`, `onSearch`).
298+
Set to `0` to disable interval-based sync; other configured triggers such as
299+
`onSessionStart`, `onSearch`, and watch/file-change can still reindex
300+
memory.
300301
</ParamField>
301302

302303
### Inline embedding timeout

src/config/types.tools.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,9 @@ export type MemorySearchConfig = {
542542
watchDebounceMs?: number;
543543
/**
544544
* Minutes between periodic memory sync ticks. Defaults to 30. Set to 0
545-
* to disable interval-based sync entirely (only watch/file-change sync
546-
* will reindex memory).
545+
* to disable interval-based sync; other configured triggers such as
546+
* onSessionStart, onSearch, and watch/file-change can still reindex
547+
* memory.
547548
*/
548549
intervalMinutes?: number;
549550
/**

src/config/zod-schema.agent-runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ export const MemorySearchSchema = z
939939
.int()
940940
.nonnegative()
941941
.describe(
942-
"Minutes between periodic memory sync ticks. Defaults to 30. Set to 0 to disable interval-based sync entirely (only watch/file-change sync will reindex memory).",
942+
"Minutes between periodic memory sync ticks. Defaults to 30. Set to 0 to disable interval-based sync; other configured triggers such as onSessionStart, onSearch, and watch/file-change can still reindex memory.",
943943
)
944944
.optional(),
945945
embeddingBatchTimeoutSeconds: z.number().int().positive().optional(),

0 commit comments

Comments
 (0)