Skip to content

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

feat(session): add runtime session and transcript host tests

Steven Enamakelb4b5e7aac8d4
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
index fe8aa417c4..1f4b4b73b9 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
@@ -62,7 +62,7 @@ async fn committed_progress_uses_each_turns_receipt_sender() {
#[tokio::test]
async fn committed_progress_carries_the_sidecar_stop_on_turn_completed() {
use crate::agent::progress::AgentProgress;
- use tinyagents_harness::turn_stop::{TurnStop, TurnStopKind};
+ use tinyagents_harness::turn_stop::TurnStopKind;
use tinyagents_runtime::{
CommitReceipt, ResumeMode, SessionTurnOutcome, TranscriptTurnOptions,
};
diff --git a/crates/openhuman-core/src/threads/transcript_host_tests.rs b/crates/openhuman-core/src/threads/transcript_host_tests.rs
index 0202ce6948..11508632a6 100644
--- a/crates/openhuman-core/src/threads/transcript_host_tests.rs
+++ b/crates/openhuman-core/src/threads/transcript_host_tests.rs
@@ -124,7 +124,7 @@ fn text_dialect_tool_turn_projects_calls_on_their_issuing_row_as_settled() {
] {
sidecar
.tool_outcomes
- .push(crate::agent::tinyagents::ToolCallOutcome {
+ .push(tinyagents_harness::turn_outcome::ToolCallOutcome {
call_id: id.into(),
name: name.into(),
arguments,