feat(memory-lancedb): make auto-capture max length configurable

This commit is contained in:
fan
2026-02-15 07:38:29 +08:00
committed by Vignesh
parent 82c1d9d3ef
commit 3e00460cdc
4 changed files with 57 additions and 4 deletions
@@ -25,6 +25,12 @@
"autoRecall": {
"label": "Auto-Recall",
"help": "Automatically inject relevant memories into context"
},
"captureMaxChars": {
"label": "Capture Max Chars",
"help": "Maximum message length eligible for auto-capture",
"advanced": true,
"placeholder": "1500"
}
},
"configSchema": {
@@ -53,6 +59,11 @@
},
"autoRecall": {
"type": "boolean"
},
"captureMaxChars": {
"type": "number",
"minimum": 100,
"maximum": 10000
}
},
"required": ["embedding"]