Skip to content

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

chore: prune unused imports in budget and goals modules

Steven Enamakel2756a3d4fb42
diff --git a/crates/openhuman-core/src/agent/goals/mod.rs b/crates/openhuman-core/src/agent/goals/mod.rs
index c3c69d8ba3..ee9b938689 100644
--- a/crates/openhuman-core/src/agent/goals/mod.rs
+++ b/crates/openhuman-core/src/agent/goals/mod.rs
@@ -10,7 +10,7 @@ pub mod runtime;
pub mod store;
pub mod tools;
-use tinyagents_graph::goals::{ThreadGoal, ThreadGoalStatus};
+use tinyagents_graph::goals::ThreadGoal;
pub use tools::goal_tools;
/// Serialize a [`ThreadGoal`] for the `goal` field on `ThreadGoalUpdated` /
diff --git a/crates/openhuman-core/src/agent/tinyagents/budget.rs b/crates/openhuman-core/src/agent/tinyagents/budget.rs
index 8af7df4f3f..0e8fa86bf9 100644
--- a/crates/openhuman-core/src/agent/tinyagents/budget.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/budget.rs
@@ -1,8 +1,6 @@
//! Host budget policy, scoped once at admission and carried explicitly to children.
use std::sync::Arc;
-use tinyinference_llm::model::budget::{
- Budget, BudgetExceeded, BudgetSnapshot, CallBudget, Spend, SpendLimits,
-};
+use tinyinference_llm::model::budget::{Budget, CallBudget};
use tinyinference_llm::model::ChatModel;
/// A shared ledger and conservative reservation bounds for every physical call.
diff --git a/crates/openhuman-embed/src/budget.rs b/crates/openhuman-embed/src/budget.rs
index 39cb7d3b82..5ece0e5fb9 100644
--- a/crates/openhuman-embed/src/budget.rs
+++ b/crates/openhuman-embed/src/budget.rs
@@ -18,9 +18,7 @@
//! Budgeted calls currently accept text only. Input bounds use serialized-byte
//! counts conservatively; multimodal requests fail before dispatch. Choose
//! bounds that include model framing and the maximum price on allowed routes.
-pub use {
- openhuman_core::agent::tinyagents::budget::ModelBudget,
- tinyinference_llm::model::budget::Budget, tinyinference_llm::model::budget::BudgetExceeded,
- tinyinference_llm::model::budget::BudgetSnapshot, tinyinference_llm::model::budget::CallBudget,
- tinyinference_llm::model::budget::Spend, tinyinference_llm::model::budget::SpendLimits,
+pub use openhuman_core::agent::tinyagents::budget::ModelBudget;
+pub use tinyinference_llm::model::budget::{
+ Budget, BudgetExceeded, BudgetSnapshot, CallBudget, Spend, SpendLimits,
};