The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(openhuman-tinyhumans): add tracing dependency and update log targets
Steven Enamakelc4e276bfcd9f
diff --git a/Cargo.lock b/Cargo.lockindex 710204fb14..6a122ffdaa 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -4084,6 +4084,7 @@ dependencies = ["tinytools 0.4.1","tinytools-jev","tokio",+ "tracing","tracing-subscriber","url","urlencoding",diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.tomlindex 23f4a0533f..18ed09224f 100644--- a/crates/openhuman-tinyhumans/Cargo.toml+++ b/crates/openhuman-tinyhumans/Cargo.toml@@ -73,6 +73,7 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "mulserde = { version = "1", features = ["derive"] }serde_json = "1"thiserror = "2"+tracing = "0.1"tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }urlencoding = "2.1"url = "2"@@ -89,6 +90,7 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "mul# tower and tracing features and force a separate core build (see below).axum = { version = "0.8", default-features = false, features = ["http1", "json", "tokio", "query", "ws", "macros"] }tempfile = "3"+tracing = "0.1"tokio = { version = "1", features = ["full", "test-util"] }wiremock = "0.6"# Feature unification with openhuman-cli's dev-dependencies. Cargo builds thediff --git a/crates/openhuman-tinyhumans/src/backend/url.rs b/crates/openhuman-tinyhumans/src/backend/url.rsindex 1043793b11..3ffd233323 100644--- a/crates/openhuman-tinyhumans/src/backend/url.rs+++ b/crates/openhuman-tinyhumans/src/backend/url.rs@@ -173,7 +173,7 @@ pub fn effective_backend_api_url(api_url: &Option<String>) -> String {is_inference_provider,is_cloud_inference,is_openhuman,- "[api/config] evaluating backend api_url override"+ "[tinyhumans::backend::url] evaluating backend api_url override");// Let the override through only when it is NOT an inference endpoint@@ -206,7 +206,7 @@ pub fn effective_backend_api_url(api_url: &Option<String>) -> String {tracing::trace!(api_url = %redact_url_for_log(u),normalized_url = %redact_url_for_log(&normalized),- "[api/config] using configured backend api_url override"+ "[tinyhumans::backend::url] using configured backend api_url override");return normalized;}@@ -216,7 +216,7 @@ pub fn effective_backend_api_url(api_url: &Option<String>) -> String {is_local_ai,is_inference_provider,is_cloud_inference,- "[api/config] override classified as inference endpoint (managed provider or builtin cloud host) — falling back to backend default chain"+ "[tinyhumans::backend::url] override classified as inference endpoint (managed provider or builtin cloud host) — falling back to backend default chain");warn_backend_url_fallback_once(u);}@@ -399,7 +399,7 @@ fn looks_like_openhuman_backend_endpoint(url: &str) -> bool {Ok(p) => {tracing::trace!(api_url = %redacted,- "[api/config] parsed api_url for OpenHuman backend classification"+ "[tinyhumans::backend::url] parsed api_url for OpenHuman backend classification");p}@@ -407,7 +407,7 @@ fn looks_like_openhuman_backend_endpoint(url: &str) -> bool {tracing::trace!(api_url = %redacted,error = %e,- "[api/config] api_url parse failed during OpenHuman backend classification"+ "[tinyhumans::backend::url] api_url parse failed during OpenHuman backend classification");return false;}@@ -416,7 +416,7 @@ fn looks_like_openhuman_backend_endpoint(url: &str) -> bool {let Some(host) = parsed.host_str().map(str::to_ascii_lowercase) else {tracing::trace!(api_url = %redacted,- "[api/config] api_url has no host — not classified as OpenHuman backend"+ "[tinyhumans::backend::url] api_url has no host — not classified as OpenHuman backend");return false;};@@ -430,7 +430,7 @@ fn looks_like_openhuman_backend_endpoint(url: &str) -> bool {api_url = %redacted,host = %host,is_openhuman,- "[api/config] OpenHuman backend classification complete"+ "[tinyhumans::backend::url] OpenHuman backend classification complete");is_openhuman@@ -513,7 +513,7 @@ fn warn_backend_url_fallback_once(local_url: &str) {WARNED.call_once(|| {tracing::warn!(local_url = %redact_url_for_log(local_url),- "[api/config] config.api_url looks like a local-AI endpoint; \+ "[tinyhumans::backend::url] config.api_url looks like a local-AI endpoint; \integrations base will fall back to env/default backend so \/agent-integrations/* requests don't 404 against your local LLM");diff --git a/crates/openhuman-tinyhumans/src/hosted/oauth/handoff_tests.rs b/crates/openhuman-tinyhumans/src/hosted/oauth/handoff_tests.rsindex 52f42cd810..00c64c6fe7 100644--- a/crates/openhuman-tinyhumans/src/hosted/oauth/handoff_tests.rs+++ b/crates/openhuman-tinyhumans/src/hosted/oauth/handoff_tests.rs@@ -44,5 +44,3 @@ fn rejects_wrong_length() {let err = key_bytes_from_string("tooshort").unwrap_err();assert!(err.to_string().contains("must decode to 32 raw bytes"));}--use super::user_id_from_profile_payload;