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
fix(config): document provider CA schema field
Steven Enamakelb85b477f6c0e
diff --git a/crates/openhuman-core/src/config/schemas/schema_defs.rs b/crates/openhuman-core/src/config/schemas/schema_defs.rsindex 9ceca598ce..7f3acb7e33 100644--- a/crates/openhuman-core/src/config/schemas/schema_defs.rs+++ b/crates/openhuman-core/src/config/schemas/schema_defs.rs@@ -9,6 +9,10 @@ mod integrations;mod voice;mod workspace;+#[cfg(test)]+#[path = "schema_defs_tests.rs"]+mod tests;+pub fn schemas(function: &str) -> ControllerSchema {inference::lookup(function).or_else(|| agent::lookup(function))diff --git a/crates/openhuman-core/src/config/schemas/schema_defs/inference.rs b/crates/openhuman-core/src/config/schemas/schema_defs/inference.rsindex 6be05b930f..4cfad41aea 100644--- a/crates/openhuman-core/src/config/schemas/schema_defs/inference.rs+++ b/crates/openhuman-core/src/config/schemas/schema_defs/inference.rs@@ -86,7 +86,7 @@ pub(super) fn lookup(function: &str) -> Option<ControllerSchema> {FieldSchema {name: "cloud_providers",ty: TypeSchema::Option(Box::new(TypeSchema::Json)),- comment: "Optional list of cloud provider entries {id, slug, label, endpoint, auth_style}. API keys are stored separately via cloud_provider_set_key. Replaces config.cloud_providers wholesale.",+ comment: "Optional list of cloud provider entries {id, slug, label, endpoint, auth_style, ca_cert_pem}. The optional PEM CA bundle is trusted only for this provider; an empty string clears it. API keys are stored separately via cloud_provider_set_key. Replaces config.cloud_providers wholesale.",required: false,},optional_string("primary_cloud", "id of the cloud_providers entry used when a workload routes to 'cloud'. Empty string clears."),diff --git a/crates/openhuman-core/src/config/schemas/schema_defs_tests.rs b/crates/openhuman-core/src/config/schemas/schema_defs_tests.rsnew file mode 100644index 0000000000..ba21a72081--- /dev/null+++ b/crates/openhuman-core/src/config/schemas/schema_defs_tests.rs@@ -0,0 +1,13 @@+use super::*;++#[test]+fn cloud_provider_schema_documents_ca_certificate_field() {+ let schema = schemas("update_model_settings");+ let providers = schema+ .inputs+ .iter()+ .find(|field| field.name == "cloud_providers")+ .expect("cloud_providers schema input");++ assert!(providers.comment.contains("ca_cert_pem"));+}