Skip to content

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

chore(dispatch): log llm result errors for debugging

Steven Enamakel22aa8192ef11
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
index 8699527122..84b00689a4 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs
@@ -394,6 +394,7 @@ pub(crate) async fn run_admitted_turn(
}
let native_delivery_succeeded = execution.delivery_succeeded.unwrap_or(false);
let llm_result = execution.result.map_err(anyhow::Error::msg);
+ if let Err(e) = &llm_result { eprintln!("DBGLLM {e}"); }
if let Some(token) = typing_cancellation.as_ref() {
token.cancel();