Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix: remove client-side fallback in buildCustomToolsMapFromResponse

Dhawal Upadhyay83770268932e
diff --git a/ts/packages/core/src/models/CustomTool.ts b/ts/packages/core/src/models/CustomTool.ts
index 8444da726..2c241080d 100644
--- a/ts/packages/core/src/models/CustomTool.ts
+++ b/ts/packages/core/src/models/CustomTool.ts
@@ -418,10 +418,5 @@ export function buildCustomToolsMapFromResponse(
}
}
- // Fallback: if backend returned no mapping at all, use client-side prefix computation
- if (!experimental) {
- return buildCustomToolsMap(tools, toolkits);
- }
-
return { byFinalSlug, byOriginalSlug, toolkits };
}