Skip to content

fix(openclaw): add auto-recall short query threshold#1894

Open
cnYui wants to merge 1 commit into
MemTensor:mainfrom
cnYui:codex/memos-auto-recall-min-query-length
Open

fix(openclaw): add auto-recall short query threshold#1894
cnYui wants to merge 1 commit into
MemTensor:mainfrom
cnYui:codex/memos-auto-recall-min-query-length

Conversation

@cnYui
Copy link
Copy Markdown

@cnYui cnYui commented Jun 6, 2026

Closes #1347

Summary

  • Add recall.autoRecallMinQueryLength for memos-local-openclaw auto-recall.
  • Default the threshold to 2 to preserve existing behavior.
  • Skip auto-recall search when the normalized prompt is shorter than the configured threshold.
  • Document setting the threshold to 10 for short acknowledgements.

Tests

  • npm test -- tests/auto-recall-min-query-length.test.ts tests/config.test.ts
  • npm run build

@cnYui cnYui force-pushed the codex/memos-auto-recall-min-query-length branch from ac15df4 to 290b1ca Compare June 6, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

建议:增加自动召回的短查询过滤参数(min_query_length)

1 participant