memoryd: recall's local items on one indented line, as Honcho's
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
@@ -104,7 +104,10 @@ fn hits_are_tagged_and_labelled() {
|
||||
]
|
||||
);
|
||||
assert!(got.text.starts_with("[1] "));
|
||||
assert!(got.text.contains("\nThe launch window moved to Thursday."));
|
||||
assert!(
|
||||
got.text
|
||||
.contains("\n The launch window moved to Thursday.")
|
||||
);
|
||||
assert!(!got.text.contains("page\n"), "tool results are not indexed");
|
||||
assert_eq!((got.class, got.untrusted), (DataClass::Private, true));
|
||||
}
|
||||
@@ -142,7 +145,7 @@ fn long_hits_are_cut() {
|
||||
.catch_up(&s.dir.path().join("sessions"), &s.store.path("notes.md"))
|
||||
.unwrap();
|
||||
let got = ask(&s, "needle", 1);
|
||||
let body = got.text.split_once('\n').unwrap().1;
|
||||
let body = got.text.split_once("\n ").unwrap().1;
|
||||
assert!(body.chars().count() <= 600, "{}", body.chars().count());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user