@vercel[bot]3w ago
Someone is attempting to deploy a commit to the Composio Team on Vercel.
A member of the Team first needs to authorize it.
typeof === 'string' ? JSON.parse() : passthrough normalization to Anthropic, Google, and LangChain providers@composio/vercel (line 129) and @composio/openai-agents (line 135)Some AI models (observed with Anthropic Claude and various LLMs) occasionally emit tool-call input/arguments as a serialized JSON string rather than a parsed object. This causes:
Input should be a valid dictionary validation errorsThe Vercel and OpenAI Agents providers already handle this case, but three providers were missing the guard.
| Provider | File | Change |
|---|---|---|
@composio/anthropic | src/index.ts | Added string→object normalization before toolUse.input is passed to payload |
@composio/google | src/index.ts | Added string→object normalization for tool.args |
@composio/langchain | src/index.ts | Added string→object normalization for args[0] in execute function |
Fixes #2406
Someone is attempting to deploy a commit to the Composio Team on Vercel.
A member of the Team first needs to authorize it.