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.

docs(core): correct getToolkitVersionsFromEnv precedence in JSDoc (#4033)

Rajarshi Datta677508f17b86
diff --git a/ts/packages/core/src/utils/sdk.ts b/ts/packages/core/src/utils/sdk.ts
index 89c22ea62..ac193e38e 100644
--- a/ts/packages/core/src/utils/sdk.ts
+++ b/ts/packages/core/src/utils/sdk.ts
@@ -64,8 +64,8 @@ export function getSDKConfig(baseUrl?: string | null, apiKey?: string | null) {
*
* Priority order:
* 1. If defaultVersions is a string, use it as global version for all toolkits
- * 2. Environment variables (COMPOSIO_TOOLKIT_VERSION_<TOOLKIT_NAME>)
- * 3. User-provided toolkit version mappings (defaultVersions object)
+ * 2. User-provided toolkit version mappings (defaultVersions object)
+ * 3. Environment variables (COMPOSIO_TOOLKIT_VERSION_<TOOLKIT_NAME>)
* 4. Fallback to 'latest' if no versions are configured
*
* @param defaultVersions - Optional default versions configuration (string for global version or object mapping toolkit names to versions)