Skip to content

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

test(channels): cover text delta before final message in progressive send

Steven Enamakeld9247e6156bd
diff --git a/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs
index 92f5fe08e5..35bee84c83 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/module_providers_tests.rs
@@ -109,11 +109,17 @@ async fn compiled_module_progressive_send_reenters_typed_callback_without_deadlo
tinychannels_bus::methods::EXECUTE_PROGRESSIVE,
(ProgressiveCommand::FeedOutput {
handle,
- events: vec![ChannelOutputEvent::FinalMessage {
- text: "nested callback delivery".into(),
- parts: Vec::new(),
- receipt: None,
- }],
+ events: vec![
+ ChannelOutputEvent::TextDelta {
+ text: "working".into(),
+ iteration: Some(1),
+ },
+ ChannelOutputEvent::FinalMessage {
+ text: "nested callback delivery".into(),
+ parts: Vec::new(),
+ receipt: None,
+ },
+ ],
},),
),
)