@devries-cameron20 / composio Mirror · read-only / commits / 837702689
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 02:00 UTC

fix: remove client-side fallback in buildCustomToolsMapFromResponse

Rely solely on backend slug mapping. No silent fallback to client-side LOCAL_ prefix computation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Dhawal Upadhyay committed Mar 18, 2026 at 13:23 UTC 83770268932e0bb60bdf971361bc2d3dc51c4bfd
1 file changed -5
ts/packages/core/src/models/CustomTool.ts
-5
@@ -418,10 +418,5 @@ export function buildCustomToolsMapFromResponse(
418 }
419 }
420
421 - // Fallback: if backend returned no mapping at all, use client-side prefix computation
422 - if (!experimental) {
423 - return buildCustomToolsMap(tools, toolkits);
424 - }
425 -
421 return { byFinalSlug, byOriginalSlug, toolkits };
422 }