Skip to content

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

chore: files changed crates/openhuman-core/src/agent/tinyagents/budget.rs,crates/openhuman-core/src/

Steven Enamakel21558236995b
diff --git a/crates/openhuman-core/src/agent/tinyagents/budget.rs b/crates/openhuman-core/src/agent/tinyagents/budget.rs
index 18c3b14754..07b95ef2a7 100644
--- a/crates/openhuman-core/src/agent/tinyagents/budget.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/budget.rs
@@ -94,9 +94,8 @@ impl crate::inference::turn_models::TurnModels {
return self;
}
if let Some(models) = self.native_model_set.take() {
- let models = models.map_models(|_, model| {
- ModelBudget::control(model, budget, admission.clone())
- });
+ let models = models
+ .map_models(|_, model| ModelBudget::control(model, budget, admission.clone()));
let mut registrations = models.registrations("primary").into_iter();
self.primary = registrations
.next()
diff --git a/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs b/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs
index c41ca46d2f..5b52f2a856 100644
--- a/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs
+++ b/crates/openhuman-core/src/agent_runs/agent_chat/mod.rs
@@ -9,7 +9,8 @@ mod session_turn;
pub use envelope::AgentChatReply;
pub use session_turn::{
- agent_chat, agent_chat_for, agent_chat_reply_for, agent_chat_reply_for_controlled, AgentChatEnv, AgentChatTarget,
+ agent_chat, agent_chat_for, agent_chat_reply_for, agent_chat_reply_for_controlled,
+ AgentChatEnv, AgentChatTarget,
};
pub(crate) use controllers::all_registered_controllers as all_inference_agent_chat_registered_controllers;
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_model_tests.rs b/crates/openhuman-tinyhumans/src/inference/managed_model_tests.rs
index a3b8e67bb6..7d54e78fa7 100644
--- a/crates/openhuman-tinyhumans/src/inference/managed_model_tests.rs
+++ b/crates/openhuman-tinyhumans/src/inference/managed_model_tests.rs
@@ -69,11 +69,7 @@ fn managed_native_model_exposes_tool_vision_and_physical_attempt_capabilities()
assert!(profile.tool_calling);
assert!(profile.modalities.image_in);
assert!(model.tracks_physical_attempts());
- assert!(model.supports_input(
- InputModality::Image,
- "image/png",
- InputSource::Base64
- ));
+ assert!(model.supports_input(InputModality::Image, "image/png", InputSource::Base64));
}
#[test]