Skip to content

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

refactor(client): format error_body_shape for readability

Steven Enamakel48952cd655ff
diff --git a/crates/openhuman-session/src/client.rs b/crates/openhuman-session/src/client.rs
index 3d4623e220..e8378f65f9 100644
--- a/crates/openhuman-session/src/client.rs
+++ b/crates/openhuman-session/src/client.rs
@@ -177,7 +177,11 @@ impl FetchMeError {
}
fn error_body_shape(body: &str) -> &'static str {
- if body.trim().is_empty() { "empty response body" } else { "non-empty response body" }
+ if body.trim().is_empty() {
+ "empty response body"
+ } else {
+ "non-empty response body"
+ }
}
impl std::fmt::Display for FetchMeError {