Improve agent prompting and classifier latency; clean up build warnings

This commit is contained in:
2026-09-15 14:25:00 -05:00
parent 66b73b1aac
commit 76d492aa75
69 changed files with 368 additions and 205 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ fn make_forbidden_filenames_matcher() -> AhoCorasick {
// NTFS (Windows) disallows ASCII control characters in path names.
let ascii_control = 0x00..0x1f;
// These characters are disallowed by UNIX filesystems, APFS or HFS+ (macOS), or NTFS.
let forbidden = [b'/', b':', b'#', b'*', b'<', b'>', b'?', b'\\', b'|'];
let forbidden = *b"/:#*<>?\\|";
let patterns = ascii_control.chain(forbidden).map(|ch| [ch]);
AhoCorasick::builder()