The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(threads): handle missing run in todo completion\n\nWhen completing a todo item, the code now checks if the associated run exists before attempting to use it, preventing a panic when the run has been deleted or is otherwise unavailable.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel64074caa99b9
diff --git a/src/openhuman/threads/todos/runs.rs b/src/openhuman/threads/todos/runs.rsindex 88c72cd854..75aa21019d 100644--- a/src/openhuman/threads/todos/runs.rs+++ b/src/openhuman/threads/todos/runs.rs@@ -526,11 +526,7 @@ mod tests {tokio::fs::create_dir_all(&legacy_dir).await.unwrap();let thread_id = "legacy-thread";- let hex: String = thread_id- .as_bytes()- .iter()- .map(|b| format!("{b:02x}"))- .collect();+ let hex = hex_key(thread_id);let legacy = vec![TaskRun {run_id: "legacy-run".to_string(),card_id: "card-1".to_string(),