Skip to content

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

test(tinyagents): format conditional expression for readability

Steven Enamakel64af03102a2f
diff --git a/crates/openhuman-core/src/agent/tinyagents/tinyagents_tests.rs b/crates/openhuman-core/src/agent/tinyagents/tinyagents_tests.rs
index 2e3d8730fc..a894eaee8f 100644
--- a/crates/openhuman-core/src/agent/tinyagents/tinyagents_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/tinyagents_tests.rs
@@ -84,7 +84,11 @@ fn scripted_response(
} else {
vec![ContentBlock::Text(text.to_string())]
};
- let finish = if tool_calls.is_empty() { "stop" } else { "tool_calls" };
+ let finish = if tool_calls.is_empty() {
+ "stop"
+ } else {
+ "tool_calls"
+ };
tinyinference_llm::model::ModelResponse {
message: AssistantMessage {
id: None,