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
@@ -98,7 +98,7 @@ pub(crate) fn starts_with_shebang(path: &Path) -> bool {
use std::io::Read;
let mut prefix = [0u8; 2];
match std::fs::File::open(path) {
Ok(mut file) => file.read_exact(&mut prefix).is_ok() && prefix == [b'#', b'!'],
Ok(mut file) => file.read_exact(&mut prefix).is_ok() && prefix == *b"#!",
Err(_) => false,
}
}