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-tinyhumans/src/transport/memory_bearer_tests.rs,crates/openhum

Steven Enamakel419d477118e3
diff --git a/crates/openhuman-tinyhumans/src/transport/memory_bearer_tests.rs b/crates/openhuman-tinyhumans/src/transport/memory_bearer_tests.rs
index ecc51f264d..a47e8869ef 100644
--- a/crates/openhuman-tinyhumans/src/transport/memory_bearer_tests.rs
+++ b/crates/openhuman-tinyhumans/src/transport/memory_bearer_tests.rs
@@ -1,10 +1,9 @@
use std::sync::Arc;
use openhuman_embed::__host::config::Config;
-use openhuman_embed::BackendTransport;
use tempfile::TempDir;
-use super::SdkBackendTransport;
+use super::{BackendTransport, SdkBackendTransport};
fn config(tmp: &TempDir) -> Config {
Config {
diff --git a/crates/openhuman-tinyhumans/src/transport/mod.rs b/crates/openhuman-tinyhumans/src/transport/mod.rs
index 751e63e31f..9661bf21ee 100644
--- a/crates/openhuman-tinyhumans/src/transport/mod.rs
+++ b/crates/openhuman-tinyhumans/src/transport/mod.rs
@@ -6,14 +6,11 @@
use std::sync::Arc;
use async_trait::async_trait;
-use openhuman_embed::__host::config::Config;
-use openhuman_embed::__host::memory::{BearerSource, CallbackBearerSource, MemoryError};
+use openhuman_embed::__host::memory::{CallbackBearerSource, MemoryError};
+use openhuman_embed::__host::memory_engines::BearerSource;
use openhuman_embed::__host::security::credentials::session_support::{
resolve_backend_credential, BackendCredential,
};
-use openhuman_embed::{
- BackendRequest, BackendTransport, BackendTransportError, BaseUrlPurpose, TransportProfile,
-};
use reqwest::Method;
use serde_json::Value;
use tinyhumans_sdk::TinyHumansClient;
diff --git a/crates/openhuman-tinyhumans/src/transport/port.rs b/crates/openhuman-tinyhumans/src/transport/port.rs
index 95f7cdde2c..cc3c6bd7c5 100644
--- a/crates/openhuman-tinyhumans/src/transport/port.rs
+++ b/crates/openhuman-tinyhumans/src/transport/port.rs
@@ -3,12 +3,13 @@
//! port. [`SdkBackendTransport`](crate::SdkBackendTransport) implements it.
use async_trait::async_trait;
+use openhuman_embed::__host::config::Config;
+use openhuman_embed::__host::memory_engines::BearerSource;
use openhuman_embed::__host::security::credentials::session_support::BackendCredential;
use reqwest::header::HeaderMap;
use reqwest::Method;
use serde_json::Value;
use std::sync::Arc;
-use tinymemory_integrations::BearerSource;
/// One `(name, value)` query pair; a `None` value omits the pair.
pub type QueryParam = (&'static str, Option<String>);
@@ -100,7 +101,7 @@ pub trait BackendTransport: Send + Sync + 'static {
/// this returns `None`.
fn memory_bearer_source(
&self,
- _config: Arc<crate::config::Config>,
+ _config: Arc<Config>,
) -> Option<Arc<dyn BearerSource>> {
None
}