mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:10:44 +00:00
feat(memory-lancedb): support Chinese memory trigger keywords (#70040)
This commit is contained in:
@@ -438,6 +438,7 @@ const MEMORY_TRIGGERS = [
|
||||
/my\s+\w+\s+is|is\s+my/i,
|
||||
/i (like|prefer|hate|love|want|need)/i,
|
||||
/always|never|important/i,
|
||||
/记住|记下|我(喜欢|偏好|讨厌|爱|想要|需要)|我的.*是|决定|总是|从不|重要/i,
|
||||
];
|
||||
|
||||
const PROMPT_INJECTION_PATTERNS = [
|
||||
|
||||
Reference in New Issue
Block a user