diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a572a60384..350acd09e9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Docs: https://docs.openclaw.ai - Slack: pass `recipient_team_id` / `recipient_user_id` through Slack native streaming calls so `chat.startStream`/`appendStream`/`stopStream` work reliably across DMs and Slack Connect setups, and disable block streaming when native streaming is active. (#20988) Thanks @Dithilli. Earlier recipient-ID groundwork was contributed in #20377 by @AsserAl1012. - CLI/Config: add canonical `--strict-json` parsing for `config set` and keep `--json` as a legacy alias to reduce help/behavior drift. (#21332) thanks @adhitShet. - CLI: keep `openclaw -v` as a root-only version alias so subcommand `-v, --verbose` flags (for example ACP/hooks/skills) are no longer intercepted globally. (#21303) thanks @adhitShet. +- Config/Memory: restore schema help/label metadata for hybrid `mmr` and `temporalDecay` settings so configuration surfaces show correct names and guidance. (#18786) Thanks @rodrigouroz. - Discord/Gateway: handle close code 4014 (missing privileged gateway intents) without crashing the gateway. Thanks @thewilloftheshadow. - Security/Net: strip sensitive headers (`Authorization`, `Proxy-Authorization`, `Cookie`, `Cookie2`) on cross-origin redirects in `fetchWithSsrFGuard` to prevent credential forwarding across origin boundaries. (#20313) Thanks @afurm. diff --git a/src/config/schema.help.ts b/src/config/schema.help.ts index 1c2356c3df1..f280e634c66 100644 --- a/src/config/schema.help.ts +++ b/src/config/schema.help.ts @@ -215,6 +215,14 @@ export const FIELD_HELP: Record = { "Weight for BM25 text relevance when merging results (0-1).", "agents.defaults.memorySearch.query.hybrid.candidateMultiplier": "Multiplier for candidate pool size (default: 4).", + "agents.defaults.memorySearch.query.hybrid.mmr.enabled": + "Enable MMR re-ranking to reduce near-duplicate memory hits (default: false).", + "agents.defaults.memorySearch.query.hybrid.mmr.lambda": + "MMR relevance/diversity balance (0 = max diversity, 1 = max relevance, default: 0.7).", + "agents.defaults.memorySearch.query.hybrid.temporalDecay.enabled": + "Enable exponential recency decay for hybrid scoring (default: false).", + "agents.defaults.memorySearch.query.hybrid.temporalDecay.halfLifeDays": + "Half-life in days for temporal decay (default: 30).", "agents.defaults.memorySearch.cache.enabled": "Cache chunk embeddings in SQLite to speed up reindexing and frequent updates (default: true).", memory: "Memory backend configuration (global).", diff --git a/src/config/schema.labels.ts b/src/config/schema.labels.ts index b7625889693..8a1e45a5640 100644 --- a/src/config/schema.labels.ts +++ b/src/config/schema.labels.ts @@ -166,6 +166,11 @@ export const FIELD_LABELS: Record = { "agents.defaults.memorySearch.query.hybrid.textWeight": "Memory Search Text Weight", "agents.defaults.memorySearch.query.hybrid.candidateMultiplier": "Memory Search Hybrid Candidate Multiplier", + "agents.defaults.memorySearch.query.hybrid.mmr.enabled": "Memory Search MMR Re-ranking", + "agents.defaults.memorySearch.query.hybrid.mmr.lambda": "Memory Search MMR Lambda", + "agents.defaults.memorySearch.query.hybrid.temporalDecay.enabled": "Memory Search Temporal Decay", + "agents.defaults.memorySearch.query.hybrid.temporalDecay.halfLifeDays": + "Memory Search Temporal Decay Half-life (Days)", "agents.defaults.memorySearch.cache.enabled": "Memory Search Embedding Cache", "agents.defaults.memorySearch.cache.maxEntries": "Memory Search Embedding Cache Max Entries", memory: "Memory",