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: files changed crates/openhuman-core/src/inference/provider/http_error_tests.rs,crates/openhum
Steven Enamakel14cd3ed6efa9
diff --git a/crates/openhuman-core/src/inference/provider/http_error_tests.rs b/crates/openhuman-core/src/inference/provider/http_error_tests.rsindex d051af9e71..b01e679d93 100644--- a/crates/openhuman-core/src/inference/provider/http_error_tests.rs+++ b/crates/openhuman-core/src/inference/provider/http_error_tests.rs@@ -302,7 +302,7 @@ async fn publish_backend_session_expired_emits_sanitized_session_expired() {"sanitize_api_error must redact the sk- token in the reason: {reason}");assert!(- !reason.contains(secret),+ !reason.contains(&secret),"raw secret must not survive into the SessionExpired reason: {reason}");}diff --git a/crates/openhuman-core/src/inference/provider/model_listing_test_support.rs b/crates/openhuman-core/src/inference/provider/model_listing_test_support.rsindex 9f166560a7..ac18c4596e 100644--- a/crates/openhuman-core/src/inference/provider/model_listing_test_support.rs+++ b/crates/openhuman-core/src/inference/provider/model_listing_test_support.rs@@ -14,7 +14,6 @@ use std::sync::{Arc, Mutex,};use tempfile::TempDir;-use tinyinference_core::sanitize::{sanitize_api_error, MAX_API_ERROR_CHARS};#[derive(Clone)]pub(crate) struct ModelProbeState {diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rsindex b17d274596..89383d7937 100644--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs@@ -1,10 +1,13 @@use super::*;-use super::catalog_listing::list_configured_models_from_config;+use crate::config::schema::cloud_providers::AuthStyle;+use axum::http::StatusCode;use crate::inference::provider::model_listing_test_support::{configure_generic_workspace, configure_openrouter_workspace, spawn_openrouter_probe_server,spawn_static_models_server,};+use std::sync::atomic::Ordering as AtomicOrdering;+use tinyinference_core::sanitize::{sanitize_api_error, MAX_API_ERROR_CHARS};#[test]fn list_configured_models_accepts_slug() {diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rsindex 3a8db634ad..8915b157ad 100644--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs@@ -1,9 +1,11 @@use super::*;-use super::catalog_listing::list_configured_models_from_config;+use super::local_runtime::synthesize_local_runtime_entry;+use crate::config::schema::cloud_providers::{AuthStyle, CloudProviderCreds};+use crate::config::Config;+use axum::http::StatusCode;use crate::inference::provider::model_listing_test_support::{- configure_generic_workspace, configure_openrouter_workspace, spawn_openrouter_probe_server,- spawn_static_models_server,+ configure_generic_workspace, spawn_static_models_server,};#[tokio::test]@@ -49,7 +51,7 @@ async fn list_models_uses_provider_ca_bundle_client() {let mut config = configure_generic_workspace(&tmp, endpoint).await;config.cloud_provider_ca_certs.insert("generic-test".into(),- include_str!("../../util/tls/test-ca.pem").into(),+ include_str!("../../../util/tls/test-ca.pem").into(),);let outcome = list_configured_models_from_config("generic-test", &config)diff --git a/crates/openhuman-core/src/inference/provider/models/mod_tests.rs b/crates/openhuman-core/src/inference/provider/models/mod_tests.rsindex 0714b0bb87..d4101ae4be 100644--- a/crates/openhuman-core/src/inference/provider/models/mod_tests.rs+++ b/crates/openhuman-core/src/inference/provider/models/mod_tests.rs@@ -1,4 +1,5 @@-use super::models::catalog_listing::resolve_local_runtime_key;+use super::*;+use catalog_listing::resolve_local_runtime_key;use crate::config::Config;#[test]