Skip to content

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

fix(embed): box fanout completion route

Steven Enamakelc54649a98029
diff --git a/crates/openhuman-embed/src/fanout.rs b/crates/openhuman-embed/src/fanout.rs
index a46fdbad9e..e9ed74db9c 100644
--- a/crates/openhuman-embed/src/fanout.rs
+++ b/crates/openhuman-embed/src/fanout.rs
@@ -18,7 +18,7 @@ pub enum LeafCall {
/// Stateless model request on its explicit route.
Completion {
/// The route and completion options.
- completer: Completer,
+ completer: Box<Completer>,
/// The model request.
request: Box<CompletionRequest>,
},
@@ -29,7 +29,7 @@ impl LeafCall {
/// A stateless request with owned, boxed options.
pub fn completion(completer: Completer, request: CompletionRequest) -> Self {
Self::Completion {
- completer,
+ completer: Box::new(completer),
request: Box::new(request),
}
}