Skip to content

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

style: cargo fmt\n

shanu28ea92b4d7a6
diff --git a/src/openhuman/inference/openai_oauth/flow_tests_part_02_tests.rs b/src/openhuman/inference/openai_oauth/flow_tests_part_02_tests.rs
index c1c576d562..ed695afd92 100644
--- a/src/openhuman/inference/openai_oauth/flow_tests_part_02_tests.rs
+++ b/src/openhuman/inference/openai_oauth/flow_tests_part_02_tests.rs
@@ -58,7 +58,8 @@ fn lookup_openai_bearer_token_returns_session_expired_error_when_refresh_fails_o
let result = lookup_openai_bearer_token(&config);
let err = result.expect_err("expected Err for expired token with failed refresh");
assert!(
- err.to_lowercase().contains("authentication token is expired"),
+ err.to_lowercase()
+ .contains("authentication token is expired"),
"error message should contain 'authentication token is expired' to trigger \
is_openai_oauth_session_expired_message (not the app-session classifier), got: {err:?}"
);
diff --git a/src/openhuman/web_chat/web_tests_part_02_tests.rs b/src/openhuman/web_chat/web_tests_part_02_tests.rs
index fc4da3bb30..4d8b0fed0a 100644
--- a/src/openhuman/web_chat/web_tests_part_02_tests.rs
+++ b/src/openhuman/web_chat/web_tests_part_02_tests.rs
@@ -643,7 +643,9 @@ fn codex_oauth_expiry_classifies_as_provider_error_not_session_expired() {
classified.message
);
assert!(
- !classified.message.contains("Your OpenHuman session has expired"),
+ !classified
+ .message
+ .contains("Your OpenHuman session has expired"),
"must not show the app-session copy: {}",
classified.message
);