Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix: use SDKErrorCodes.NO_API_KEY_PROVIDED instead of hardcoded string (#2258)
devin-ai-integration[bot]dff542ab4f3c
diff --git a/ts/packages/core/src/errors/SDKErrors.ts b/ts/packages/core/src/errors/SDKErrors.tsindex 5d316ecd1..956fe4885 100644--- a/ts/packages/core/src/errors/SDKErrors.ts+++ b/ts/packages/core/src/errors/SDKErrors.ts@@ -14,7 +14,7 @@ export class ComposioNoAPIKeyError extends ComposioError {super(message, {...options,- code: 'NO_API_KEY',+ code: SDKErrorCodes.NO_API_KEY_PROVIDED,cause: options.cause || defaultCause,possibleFixes: options.possibleFixes || ['Ensure you have an API key passed in the params, or in environment variable (COMPOSIO_API_KEY) or in the user config file',