Skip to content

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

feat(api): add BackendCredential import for session support

Steven Enamakeld8dc726bcff5
diff --git a/crates/openhuman-core/src/api/rest.rs b/crates/openhuman-core/src/api/rest.rs
index 71c63f666c..fb262e2ec2 100644
--- a/crates/openhuman-core/src/api/rest.rs
+++ b/crates/openhuman-core/src/api/rest.rs
@@ -9,6 +9,8 @@ use serde_json::{json, Value};
use std::time::Duration;
use tinyhumans_sdk::{Error as SdkError, TinyHumansClient};
+use crate::security::credentials::session_support::BackendCredential;
+
/// Typed errors surfaced by `authed_json` for expected backend states that
/// callers should recover from in-flow rather than funnel into Sentry.
#[derive(Debug, thiserror::Error)]