Skip to content

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

feat(tools): add integration tool config schema

Steven Enamakel14f1043c2126
diff --git a/crates/openhuman-core/src/config/schema/tools/integrations.rs b/crates/openhuman-core/src/config/schema/tools/integrations.rs
index 6c0ef5869f..137c11c464 100644
--- a/crates/openhuman-core/src/config/schema/tools/integrations.rs
+++ b/crates/openhuman-core/src/config/schema/tools/integrations.rs
@@ -33,8 +33,6 @@ fn default_composio_mode() -> String {
#[derive(Clone, Serialize, Deserialize, JsonSchema)]
#[serde(default)]
pub struct ComposioConfig {
- #[serde(default)]
- pub enabled: bool,
#[serde(default = "default_entity_id")]
pub entity_id: String,
/// When true, the triage pipeline is disabled for all Composio
@@ -99,7 +97,6 @@ impl ComposioConfig {
impl std::fmt::Debug for ComposioConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("ComposioConfig")
- .field("enabled", &self.enabled)
.field("entity_id", &self.entity_id)
.field("triage_disabled", &self.triage_disabled)
.field("triage_disabled_toolkits", &self.triage_disabled_toolkits)
@@ -190,7 +187,6 @@ fn default_entity_id() -> String {
impl Default for ComposioConfig {
fn default() -> Self {
Self {
- enabled: false,
entity_id: default_entity_id(),
triage_disabled: false,
triage_disabled_toolkits: Vec::new(),
diff --git a/crates/openhuman-core/src/modules/connectors_tests.rs b/crates/openhuman-core/src/modules/connectors_tests.rs
index 4c5175fb07..00e5d581a8 100644
--- a/crates/openhuman-core/src/modules/connectors_tests.rs
+++ b/crates/openhuman-core/src/modules/connectors_tests.rs
@@ -68,7 +68,6 @@ fn every_member_this_host_names_is_one_the_module_serves() {
/// A config with no backend session and no stored key.
fn bare_config() -> Config {
let mut config = Config::default();
- config.composio.enabled = true;
config
}
diff --git a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
index 5a1ca62d1a..97eb3d96d9 100644
--- a/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_execution_and_serde_tests.rs
@@ -139,7 +139,6 @@ fn all_tools_registers_integration_families_when_enabled_and_signed_in() {
cfg.integrations.parallel.enabled = true;
cfg.integrations.tinyfish.enabled = true;
cfg.integrations.stock_prices.enabled = true;
- cfg.composio.enabled = true;
store_test_session_token(&cfg);
let tools = all_tools(