Skip to content

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

fix(install): guard SDK shim behind probe environment variable

Steven Enamakeldce7a20cf99b
diff --git a/crates/openhuman-core/src/api/transport/install.rs b/crates/openhuman-core/src/api/transport/install.rs
index db9007283c..dc22ebaf2c 100644
--- a/crates/openhuman-core/src/api/transport/install.rs
+++ b/crates/openhuman-core/src/api/transport/install.rs
@@ -85,9 +85,11 @@ pub fn resolve_backend_transport() -> Result<Arc<dyn BackendTransport>, BackendT
// P1 shim: the SDK-backed transport compiled into the core until every
// host installs one from `openhuman-tinyhumans`. Removed with the SDK
// dependency.
+ if std::env::var_os("OPENHUMAN_PROBE_NO_SHIM").is_none() {
if let Some(transport) = super::sdk_compat::SdkCompatTransport::shared() {
return Ok(transport);
}
+ }
log::debug!("[backend-transport] no transport installed; backend unavailable");
Err(BackendTransportError::Unavailable)
}