Skip to content

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

test(channels): update runtime tool call tests

Steven Enamakela5083f09f280
diff --git a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
index 4d9e0a4665..624bad52b8 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
@@ -98,14 +98,16 @@ async fn process_channel_message_handles_models_command_without_llm_call() {
);
let mut config = crate::config::Config::default();
- config.cloud_providers.push(crate::config::CloudProviderCreds {
+ config
+ .cloud_providers
+ .push(crate::config::schema::CloudProviderCreds {
id: "p_managed_models_test".to_string(),
slug: "openhuman".to_string(),
label: "Managed Backend".to_string(),
endpoint: "https://api.openhuman.ai/v1".to_string(),
- auth_style: crate::config::AuthStyle::OpenhumanJwt,
+ auth_style: crate::config::schema::AuthStyle::OpenhumanJwt,
default_model: Some("default-model".to_string()),
- });
+ });
let runtime_ctx = Arc::new(ChannelRuntimeContext {
relay_thread: None,
channels_by_name: Arc::new(channels_by_name),