Skip to content

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

fix(tests): correct test assertions for composio tool integration

Steven Enamakelbb7abb8286c9
diff --git a/src/openhuman/integrations/composio/tools_tests.rs b/src/openhuman/integrations/composio/tools_tests.rs
index af0d4027a5..d6e3fb175f 100644
--- a/src/openhuman/integrations/composio/tools_tests.rs
+++ b/src/openhuman/integrations/composio/tools_tests.rs
@@ -1,37 +1,7 @@
use super::*;
-use crate::openhuman::integrations::composio::providers::{
- register_provider, ComposioProvider, CuratedTool, ProviderContext, ProviderUserProfile,
- ToolScope,
-};
-use async_trait::async_trait;
use std::path::Path;
use std::sync::Arc;
-static PROVIDER_ONLY_CURATED: &[CuratedTool] = &[CuratedTool {
- slug: "PROVIDERONLY_LIST_ITEMS",
- scope: ToolScope::Read,
-}];
-
-struct ProviderOnlyCatalog;
-
-#[async_trait]
-impl ComposioProvider for ProviderOnlyCatalog {
- fn toolkit_slug(&self) -> &'static str {
- "provideronly"
- }
-
- fn curated_tools(&self) -> Option<&'static [CuratedTool]> {
- Some(PROVIDER_ONLY_CURATED)
- }
-
- async fn fetch_user_profile(
- &self,
- _ctx: &ProviderContext,
- ) -> Result<ProviderUserProfile, String> {
- Ok(ProviderUserProfile::default())
- }
-}
-
struct WorkspaceEnvGuard {
previous: Option<std::ffi::OsString>,
}