Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(todos): remove unnecessary Option wrapper in hex decoding

Steven Enamakel84ada8192f74
diff --git a/src/openhuman/threads/todos/runs.rs b/src/openhuman/threads/todos/runs.rs
index 3cb360633e..eafdae2315 100644
--- a/src/openhuman/threads/todos/runs.rs
+++ b/src/openhuman/threads/todos/runs.rs
@@ -228,7 +228,7 @@ fn legacy_thread_id(path: &Path) -> Option<String> {
if hex.is_empty() || hex.len() % 2 != 0 || !hex.is_ascii() {
return None;
}
- let bytes: Option<Vec<u8>> = hex
+ let bytes: Vec<u8> = hex
.as_bytes()
.chunks_exact(2)
.map(|pair| {