Skip to content

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

chore(agent): inline DispatchCtx import in background delivery

Steven Enamakelfcb0f40c06f9
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 953ee10e4e..96d6e87492 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -27,7 +27,6 @@
//! appends to the thread's transcript. It persists its reply before announcing
//! `chat_done`, so a reconnect cannot lose a completed delegated result.
-use crate::core::runtime::DispatchCtx;
use std::collections::HashSet;
use std::future::Future;
use std::path::{Path, PathBuf};
@@ -717,7 +716,7 @@ fn persist_delivery_reply(
success: bool,
) -> Result<(), String> {
crate::threads::store::append_message(
- &DispatchCtx::ambient(),
+ &crate::core::runtime::DispatchCtx::ambient(),
workspace_dir,
thread_id,
crate::threads::store::ConversationMessage {