Skip to content

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

chore: files changed src/openhuman/agent/tinyagents/delegation.rs,vendor/tinyagents

Steven Enamakel5b10a9cdca43
diff --git a/src/openhuman/agent/tinyagents/delegation.rs b/src/openhuman/agent/tinyagents/delegation.rs
index 67dc6688d4..e6aab7e436 100644
--- a/src/openhuman/agent/tinyagents/delegation.rs
+++ b/src/openhuman/agent/tinyagents/delegation.rs
@@ -1522,3 +1522,39 @@ mod tests {
assert_eq!(outcome.state.final_output.as_deref(), Some("done"));
}
}
+
+#[cfg(test)]
+mod tmp_shape_probe {
+ use super::*;
+
+ #[test]
+ fn print_pre_move_serialized_shape() {
+ let state = DelegationState {
+ plan: Some("PLAN".into()),
+ executions: vec![
+ StepRecord {
+ index: 0,
+ prompt: "P0".into(),
+ result: "R0".into(),
+ },
+ StepRecord {
+ index: 1,
+ prompt: "P1".into(),
+ result: "R1".into(),
+ },
+ ],
+ reviews: vec!["review-0".into(), "review-1".into()],
+ revisions: 1,
+ approved: true,
+ final_output: Some("FINAL".into()),
+ cancelled: false,
+ human_approved: Some(true),
+ denied: false,
+ schema_version: CURRENT_SCHEMA_VERSION,
+ };
+ println!(
+ "PRE_MOVE_JSON={}",
+ serde_json::to_string(&state).expect("serializes")
+ );
+ }
+}
diff --git a/vendor/tinyagents b/vendor/tinyagents
index 3e764b907f..df5477978e 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit 3e764b907f2fb5e9b00295b6e576a72ebd406ef8
+Subproject commit df5477978e968dbcf57b62e6d469b09da0d271dd