Make remember tool instructions more imperative in system prompts
- Change 'call remember' to 'you MUST call remember' in native prompt - Change 'IF you discovered' to 'ALWAYS...when you discovered' - Add explicit list of trigger tools (code_search, rg, grep, find, read_file) - Add reminder to Response Guidelines section - Add remember tool and Project Memory section to non-native prompt - Remove redundant console output from remember tool - Fix test compilation errors (missing summary parameter, temporary borrow)
This commit is contained in:
@@ -840,7 +840,8 @@ fn test_table_empty_line_then_header() {
|
||||
for ch in input.chars() {
|
||||
let out = fmt.process(&ch.to_string());
|
||||
if !out.is_empty() {
|
||||
eprintln!("After '{}': {:?}", if ch == '\n' { "\\n" } else { &ch.to_string() }, out);
|
||||
let ch_display = if ch == '\n' { "\\n".to_string() } else { ch.to_string() };
|
||||
eprintln!("After '{}': {:?}", ch_display, out);
|
||||
}
|
||||
full_output.push_str(&out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user