Skip to content

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

chore(deps): update tinyjuice dependencies and reformat test code

Steven Enamakelc745015e7866
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 4904cec2de..47474fb0a3 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -7502,7 +7502,7 @@ name = "tinyjuice"
version = "0.2.5"
dependencies = [
"async-trait",
- "dirs",
+ "dirs 7.0.0",
"hex",
"log",
"once_cell",
@@ -7522,6 +7522,7 @@ name = "tinyjuice-bus"
version = "0.2.5"
dependencies = [
"serde",
+ "serde_json",
]
[[package]]
diff --git a/crates/openhuman-core/src/tools/impl/network/web_fetch_tests.rs b/crates/openhuman-core/src/tools/impl/network/web_fetch_tests.rs
index 68fca6c8d7..6773250135 100644
--- a/crates/openhuman-core/src/tools/impl/network/web_fetch_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/network/web_fetch_tests.rs
@@ -135,7 +135,10 @@ fn a_missing_content_type_falls_back_to_content_detection() {
#[test]
fn an_empty_content_type_does_not_veto_detection() {
- assert!(is_html("<!DOCTYPE html><html><body>x</body></html>", Some("")));
+ assert!(is_html(
+ "<!DOCTYPE html><html><body>x</body></html>",
+ Some("")
+ ));
}
#[test]
@@ -156,7 +159,9 @@ fn the_schema_offers_the_raw_escape_hatch() {
#[test]
fn the_declared_cap_is_sized_for_extracted_markdown_not_raw_markup() {
let tool = WebFetchTool::new(Arc::new(SecurityPolicy::default()), vec![], None, None);
- let cap = tool.max_result_size_chars().expect("web_fetch declares a cap");
+ let cap = tool
+ .max_result_size_chars()
+ .expect("web_fetch declares a cap");
assert!(
(8_000..=32_000).contains(&cap),
"cap should sit in the same range as Hermes (15k chars) and Codex \