Skip to content

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

chore(provider): remove re-export of UsageInfo from tinymemory

Steven Enamakeldc91164e6f5e
diff --git a/crates/openhuman-core/src/inference/provider/mod.rs b/crates/openhuman-core/src/inference/provider/mod.rs
index 639f664c6e..6bba808ef3 100644
--- a/crates/openhuman-core/src/inference/provider/mod.rs
+++ b/crates/openhuman-core/src/inference/provider/mod.rs
@@ -17,7 +17,7 @@ pub mod types;
#[allow(unused_imports)]
pub use types::{
- BilledUsage, ChatResponse, ProviderDelta, UsageInfo, AGENT_TURN_MAX_OUTPUT_TOKENS,
+ BilledUsage, ChatResponse, ProviderDelta, AGENT_TURN_MAX_OUTPUT_TOKENS,
};
pub use error_code::{
diff --git a/crates/openhuman-core/src/inference/provider/types.rs b/crates/openhuman-core/src/inference/provider/types.rs
index 6e262cdd27..e285bed52b 100644
--- a/crates/openhuman-core/src/inference/provider/types.rs
+++ b/crates/openhuman-core/src/inference/provider/types.rs
@@ -1,7 +1,3 @@
-/// Token usage returned by a provider. Defined in the contract crate because
-/// the extracted memory subsystem threads it out of summarisation runs; every
-/// existing `inference::provider::UsageInfo` path keeps naming this one type.
-pub use tinymemory_api::host::UsageInfo;
use tinyinference_llm::usage::Usage;
use tinytools_agent::dialect::NativeToolCall;
diff --git a/vendor/tinymemory b/vendor/tinymemory
index 0c0042c0eb..57f59c1669 160000
--- a/vendor/tinymemory
+++ b/vendor/tinymemory
@@ -1 +1 @@
-Subproject commit 0c0042c0ebc81541b472c8d8573f7e29250ca590
+Subproject commit 57f59c1669f84517dc5910f0ca969f5e6617a75d