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
test: remove redundant composio schema catalog test
Steven Enamakela511c4756e33
diff --git a/tests/in_process/domain_modules_e2e.rs b/tests/in_process/domain_modules_e2e.rsindex 6d8bb2a9bd..d5630d7eec 100644--- a/tests/in_process/domain_modules_e2e.rs+++ b/tests/in_process/domain_modules_e2e.rs@@ -434,8 +434,7 @@ async fn config_agent_tools_and_threads_mutation_paths_round_trip() {Some(&json!("updated")));assert_eq!(- data(&update_message, "threads_message_update")- .pointer("/extraMetadata/verified"),+ data(&update_message, "threads_message_update").pointer("/extraMetadata/verified"),Some(&json!(true)),"boolean metadata must remain boolean in the projected message");diff --git a/tests/raw_coverage/composio_backend_tools_e2e.rs b/tests/raw_coverage/composio_backend_tools_e2e.rsindex a235c621ab..3acee73940 100644--- a/tests/raw_coverage/composio_backend_tools_e2e.rs+++ b/tests/raw_coverage/composio_backend_tools_e2e.rs@@ -16,12 +16,12 @@ use tempfile::{Builder, TempDir};use openhuman_core::config::Config;use openhuman_core::integrations::composio::ops::{composio_authorize, composio_list_tools};-use openhuman_core::security::credentials::{- AuthService, APP_SESSION_PROVIDER, DEFAULT_AUTH_PROFILE_NAME,-};use openhuman_core::integrations::composio::tools::{ComposioListConnectionsTool, ComposioListToolkitsTool, ComposioListToolsTool,};+use openhuman_core::security::credentials::{+ AuthService, APP_SESSION_PROVIDER, DEFAULT_AUTH_PROFILE_NAME,+};use tinytools::{Tool, ToolCallOptions};static ENV_LOCK: &OnceLock<tokio::sync::Mutex<()>> = &crate::SHARED_ENV_LOCK;@@ -56,7 +56,8 @@ fn env_lock() -> tokio::sync::MutexGuard<'static, ()> {async fn env_lock_async() -> tokio::sync::MutexGuard<'static, ()> {ENV_LOCK.get_or_init(|| tokio::sync::Mutex::new(()))- .lock().await+ .lock()+ .await}fn tempdir() -> TempDir {diff --git a/tests/raw_coverage/composio_host_helpers_e2e.rs b/tests/raw_coverage/composio_host_helpers_e2e.rsindex 5fe7f326f2..3fa875c1ce 100644--- a/tests/raw_coverage/composio_host_helpers_e2e.rs+++ b/tests/raw_coverage/composio_host_helpers_e2e.rs@@ -300,53 +300,6 @@ impl Drop for WorkspaceEnvGuard {}}-#[test]-fn composio_controller_schema_catalog_covers_all_declared_functions() {- crate::tinyhumans_boot::boot();- // (function, required input names, first output name). Assert the required- // inputs are *present* rather than pinning `inputs.len() == N` — the exact- // count broke whenever an additive optional param was declared (plan.md §3).- let expected: [(&str, &[&str], &str); 22] = [- ("list_toolkits", &[], "toolkits"),- ("list_capabilities", &[], "capabilities"),- ("list_agent_ready_toolkits", &[], "toolkits"),- ("list_connections", &[], "connections"),- ("authorize", &["toolkit"], "connectUrl"),- ("delete_connection", &["connection_id"], "deleted"),- ("list_tools", &["toolkits"], "tools"),- ("execute", &["tool", "connection_id"], "result"),- ("list_github_repos", &["connection_id"], "result"),- ("create_trigger", &["slug", "connection_id"], "result"),- ("get_user_profile", &["connection_id"], "profile"),- ("refresh_all_identities", &[], "report"),- ("list_trigger_history", &["limit"], "result"),- ("get_user_scopes", &["toolkit"], "pref"),- ("set_user_scopes", &["toolkit", "read", "write"], "pref"),- ("list_available_triggers", &["toolkit"], "triggers"),- ("list_triggers", &["toolkit"], "triggers"),- ("enable_trigger", &["connection_id", "slug"], "result"),- ("disable_trigger", &["trigger_id"], "deleted"),- ("get_mode", &[], "mode"),- ("set_api_key", &["api_key"], "result"),- ("clear_api_key", &[], "result"),- ];-- for (function, required_inputs, first_output) in expected {- let schema = openhuman_core::integrations::composio::schemas::schemas(function);- assert_eq!(schema.namespace, "composio");- assert_eq!(schema.function, function);- let input_names: Vec<&str> = schema.inputs.iter().map(|f| f.name).collect();- for required in required_inputs {- assert!(- input_names.contains(required),- "{function} must declare input `{required}` (got {input_names:?})"- );- }- assert_eq!(schema.outputs[0].name, first_output, "{function}");- assert!(!schema.description.is_empty());- }-}-#[tokio::test]async fn composio_controller_handlers_reject_bad_params_before_network() {crate::tinyhumans_boot::boot();diff --git a/tests/raw_coverage/host_inference_http_dictation_e2e.rs b/tests/raw_coverage/host_inference_http_dictation_e2e.rsindex 5697520fc7..315ffef506 100644--- a/tests/raw_coverage/host_inference_http_dictation_e2e.rs+++ b/tests/raw_coverage/host_inference_http_dictation_e2e.rs@@ -16,18 +16,16 @@ use axum::response::IntoResponse;use axum::routing::{get, post};use axum::{Json, Router};use futures_util::{SinkExt, StreamExt};-use openhuman_core::core::types::AppState;use openhuman_core::config::schema::cloud_providers::{AuthStyle as CloudAuthStyle, CloudProviderCreds,};use openhuman_core::config::Config;+use openhuman_core::core::types::AppState;+use openhuman_core::inference::host_runtime::{local_ai_status, LocalAiService};+use openhuman_core::inference::http;use openhuman_core::security::credentials::{AuthService, APP_SESSION_PROVIDER, DEFAULT_AUTH_PROFILE_NAME,};-use openhuman_core::inference::http;-use openhuman_core::inference::host_runtime::{- local_ai_status, LocalAiService,-};use openhuman_core::voice::streaming::handle_dictation_ws;use serde_json::{json, Value};use tempfile::{tempdir, TempDir};