Skip to content

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

feat(embed): add host internals module

Steven Enamakel8280fe29a761
diff --git a/crates/openhuman-embed/src/host_internals.rs b/crates/openhuman-embed/src/host_internals.rs
index 61dbecd2eb..78e6f716ea 100644
--- a/crates/openhuman-embed/src/host_internals.rs
+++ b/crates/openhuman-embed/src/host_internals.rs
@@ -39,7 +39,7 @@ pub mod core {
pub use openhuman_core::core::observability::{
contains_transient_transport_phrase, expected_error_kind, is_api_key_rejected_message,
is_session_expired_message, is_suppressed_usage_probe_backoff,
- is_transient_http_status_code, is_transient_message_failure, report_error_or_expected,
+ is_transient_http_status_code, is_transient_message_failure, report_error, report_error_or_expected,
report_warning_message, ExpectedErrorKind, API_KEY_REJECTED_PREFIX,
BACKEND_UNAVAILABLE_PREFIX, REPORT_ERROR_TRACING_TARGET, USAGE_PROBE_BACKOFF_PREFIX,
};
@@ -252,7 +252,7 @@ pub mod security {
/// tinyhumans: TLS, URL and redaction helpers for the backend client.
pub mod util {
- pub use openhuman_core::util::redact_url_for_log;
+ pub use openhuman_core::util::{redact_url_for_log, truncate_at_byte_boundary};
pub mod redact {
pub use openhuman_core::util::redact::redact_url_for_log;
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index 180b669b99..22e56d535f 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -79,6 +79,8 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "mul
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
+tinyinference-providers = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-providers" }
+urlencoding = "2.1"
tracing = "0.1"
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }
url = "2"