Skip to content

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

test(composio_agents): refactor agent instantiation calls

Steven Enamakel5a97dc1575a1
diff --git a/crates/openhuman-embed/tests/composio_agents.rs b/crates/openhuman-embed/tests/composio_agents.rs
index f5f78833af..dfdb4992e8 100644
--- a/crates/openhuman-embed/tests/composio_agents.rs
+++ b/crates/openhuman-embed/tests/composio_agents.rs
@@ -84,20 +84,20 @@ fn agents_call_composio_with_their_own_credential() {
let alpha = runtime
.agent(
AgentSpec::new("alpha")
- .provider(Provider::openai_compatible(
- format!("{}/v1", provider_a.uri()),
- "sk-a",
- ).model("fixture-alpha"))
+ .provider(
+ Provider::openai_compatible(format!("{}/v1", provider_a.uri()), "sk-a")
+ .model("fixture-alpha"),
+ )
.composio(credential(KEY_A, "tenant-a", &composio)),
)
.expect("alpha instantiates");
let beta = runtime
.agent(
AgentSpec::new("beta")
- .provider(Provider::openai_compatible(
- format!("{}/v1", provider_b.uri()),
- "sk-b",
- ).model("fixture-beta"))
+ .provider(
+ Provider::openai_compatible(format!("{}/v1", provider_b.uri()), "sk-b")
+ .model("fixture-beta"),
+ )
.composio(credential(KEY_B, "tenant-b", &composio)),
)
.expect("beta instantiates");