You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
14
-
];
14
+
15
+
lettoolGuidance: string;
16
+
if(hasMemorySearch&&hasMemoryGet){
17
+
toolGuidance=
18
+
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.";
19
+
}elseif(hasMemorySearch){
20
+
toolGuidance=
21
+
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md and answer from the matching results. If low confidence after search, say you checked.";
22
+
}else{
23
+
toolGuidance=
24
+
"Before answering anything about prior work, decisions, dates, people, preferences, or todos that already point to a specific memory file or note: run memory_get to pull only the needed lines. If low confidence after reading them, say you checked.";
25
+
}
26
+
27
+
constlines=["## Memory Recall",toolGuidance];
15
28
if(citationsMode==="off"){
16
29
lines.push(
17
30
"Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.",
0 commit comments