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
feat(core): add direct profile provider and provider settings modules
Steven Enamakele202b8e192d5
diff --git a/crates/openhuman-core/src/core/runtime/direct_profile_provider.rs b/crates/openhuman-core/src/core/runtime/direct_profile_provider.rsnew file mode 100644index 0000000000..e916398403--- /dev/null+++ b/crates/openhuman-core/src/core/runtime/direct_profile_provider.rs@@ -0,0 +1,5 @@+//! Validated operator-owned inference defaults for hosted profiles.++#[cfg(test)]+#[path = "direct_profile_provider_tests.rs"]+mod tests;diff --git a/crates/openhuman-core/src/core/runtime/mod.rs b/crates/openhuman-core/src/core/runtime/mod.rsindex e001bcd9ac..35d84aaee2 100644--- a/crates/openhuman-core/src/core/runtime/mod.rs+++ b/crates/openhuman-core/src/core/runtime/mod.rs@@ -65,3 +65,6 @@ pub use mode::{current_mode, is_saas, Mode};pub use saas::SaasConfig;pub use spawn::{spawn_blocking_scoped, spawn_scoped};pub use tenant::{current_tenant, session_key, session_key_prefix, tenant_key, NoTenant, Tenant};++/// Operator-owned direct inference settings.+pub mod direct_profile_provider;diff --git a/crates/openhuman-core/src/profiles/mod.rs b/crates/openhuman-core/src/profiles/mod.rsindex a9dc260937..eee9fd768f 100644--- a/crates/openhuman-core/src/profiles/mod.rs+++ b/crates/openhuman-core/src/profiles/mod.rs@@ -46,3 +46,6 @@ pub use lease::OpenError;pub use registry::ProfileRegistry;pub use schemas::{all_profiles_controller_schemas, all_profiles_registered_controllers};pub use types::{ProfileId, ProfileIdMode, ProfileSummary};++#[doc(hidden)]+pub mod provider_settings;diff --git a/crates/openhuman-core/src/profiles/provider_settings.rs b/crates/openhuman-core/src/profiles/provider_settings.rsnew file mode 100644index 0000000000..cfdbd9e90b--- /dev/null+++ b/crates/openhuman-core/src/profiles/provider_settings.rs@@ -0,0 +1,5 @@+//! Immutable provider bindings for authenticated profile contexts.++#[cfg(test)]+#[path = "provider_settings_tests.rs"]+mod tests;