@composio/core 0.1.46 → 0.1.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![Composio Banner](https://github.com/user-attachments/assets/9ba0e9c1-85a4-4b51-ae60-f9fe7992e819)
2
+
1
3
  # @composio/core
2
4
 
3
5
  The core Composio SDK which allows users to interact with the Composio Platform. It provides a powerful and flexible way to manage and execute tools, handle authentication, and integrate with various platforms and frameworks.
package/dist/index.cjs CHANGED
@@ -3931,7 +3931,7 @@ var ConnectedAccounts = class {
3931
3931
  });
3932
3932
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) {
3933
3933
  throw new ComposioMultipleConnectedAccountsError(
3934
- `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`
3934
+ `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`
3935
3935
  );
3936
3936
  } else if (connectedAccount.items.length > 0) {
3937
3937
  logger_default.warn(
@@ -6443,7 +6443,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6443
6443
  async handleToolCalls(userId, chatCompletion, options, modifiers) {
6444
6444
  const outputs = [];
6445
6445
  for (const message of chatCompletion.choices) {
6446
- if (message.message.tool_calls) {
6446
+ if (message.message.tool_calls && message.message.tool_calls[0].type === "function") {
6447
6447
  const toolResult = await this.executeToolCall(
6448
6448
  userId,
6449
6449
  message.message.tool_calls[0],
@@ -6465,12 +6465,15 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6465
6465
  * This method processes tool calls from an OpenAI Assistant run,
6466
6466
  * executes each tool call, and returns the tool outputs for submission.
6467
6467
  *
6468
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. This method will be removed in the next major version.
6469
+ *
6468
6470
  * @param {string} userId - The user ID for authentication and tracking
6469
6471
  * @param {OpenAI.Beta.Threads.Run} run - The Assistant run object containing tool calls
6470
6472
  * @param {ExecuteToolFnOptions} [options] - Optional execution options
6471
6473
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
6472
6474
  * @returns {Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>} Array of tool outputs for submission
6473
6475
  *
6476
+ *
6474
6477
  * @example
6475
6478
  * ```typescript
6476
6479
  * // Handle tool calls from an OpenAI Assistant run
@@ -6533,6 +6536,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6533
6536
  * that require action, and yields each event from the stream. It's designed
6534
6537
  * for streaming Assistant responses while handling tool calls in real-time.
6535
6538
  *
6539
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
6540
+ *
6536
6541
  * @param {string} userId - The user ID for authentication and tracking
6537
6542
  * @param {OpenAI} client - The OpenAI client instance
6538
6543
  * @param {Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>} runStream - The Assistant run stream
@@ -6541,6 +6546,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6541
6546
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
6542
6547
  * @returns {AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>} Generator yielding stream events
6543
6548
  *
6549
+ *
6550
+ *
6544
6551
  * @example
6545
6552
  * ```typescript
6546
6553
  * // Process an OpenAI Assistant stream with tool calls
@@ -6585,7 +6592,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6585
6592
  options,
6586
6593
  modifiers
6587
6594
  );
6588
- await client.beta.threads.runs.submitToolOutputs(thread.id, runId, {
6595
+ await client.beta.threads.runs.submitToolOutputs(runId, {
6596
+ thread_id: thread.id,
6589
6597
  tool_outputs: toolOutputs
6590
6598
  });
6591
6599
  }
@@ -6601,15 +6609,20 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6601
6609
  if (!runId) {
6602
6610
  throw new Error("No run ID found");
6603
6611
  }
6604
- let finalRun = await client.beta.threads.runs.retrieve(thread.id, runId);
6612
+ let finalRun = await client.beta.threads.runs.retrieve(runId, {
6613
+ thread_id: thread.id
6614
+ });
6605
6615
  while (["queued", "in_progress", "requires_action"].includes(finalRun.status)) {
6606
6616
  if (finalRun.status === "requires_action") {
6607
6617
  const toolOutputs = await this.handleAssistantMessage(userId, finalRun, options, modifiers);
6608
- finalRun = await client.beta.threads.runs.submitToolOutputs(thread.id, runId, {
6618
+ finalRun = await client.beta.threads.runs.submitToolOutputs(runId, {
6619
+ thread_id: thread.id,
6609
6620
  tool_outputs: toolOutputs
6610
6621
  });
6611
6622
  } else {
6612
- finalRun = await client.beta.threads.runs.retrieve(thread.id, runId);
6623
+ finalRun = await client.beta.threads.runs.retrieve(runId, {
6624
+ thread_id: thread.id
6625
+ });
6613
6626
  await new Promise((resolve) => setTimeout(resolve, 500));
6614
6627
  }
6615
6628
  }
@@ -6621,6 +6634,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6621
6634
  * handles any tool calls, and returns the final run object. It's designed for
6622
6635
  * non-streaming Assistant interactions.
6623
6636
  *
6637
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
6638
+ *
6624
6639
  * @param {string} userId - The user ID for authentication and tracking
6625
6640
  * @param {OpenAI} client - The OpenAI client instance
6626
6641
  * @param {OpenAI.Beta.Threads.Run} run - The initial run object
@@ -6661,11 +6676,14 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6661
6676
  while (["queued", "in_progress", "requires_action"].includes(run.status)) {
6662
6677
  const tool_outputs = await this.handleAssistantMessage(userId, run, options, modifiers);
6663
6678
  if (run.status === "requires_action") {
6664
- run = await client.beta.threads.runs.submitToolOutputs(thread.id, run.id, {
6679
+ run = await client.beta.threads.runs.submitToolOutputs(run.id, {
6680
+ thread_id: thread.id,
6665
6681
  tool_outputs
6666
6682
  });
6667
6683
  } else {
6668
- run = await client.beta.threads.runs.retrieve(thread.id, run.id);
6684
+ run = await client.beta.threads.runs.retrieve(run.id, {
6685
+ thread_id: thread.id
6686
+ });
6669
6687
  await new Promise((resolve) => setTimeout(resolve, 500));
6670
6688
  }
6671
6689
  }
@@ -6674,7 +6692,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6674
6692
  };
6675
6693
 
6676
6694
  // package.json
6677
- var version = "0.1.46";
6695
+ var version = "0.1.48";
6678
6696
 
6679
6697
  // src/models/Files.ts
6680
6698
  var Files = class {
package/dist/index.d.cts CHANGED
@@ -72515,7 +72515,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72515
72515
  * console.log(JSON.parse(result));
72516
72516
  * ```
72517
72517
  */
72518
- executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
72518
+ executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageFunctionToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
72519
72519
  /**
72520
72520
  * Handles tool calls from OpenAI's chat completion response.
72521
72521
  *
@@ -72565,12 +72565,15 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72565
72565
  * This method processes tool calls from an OpenAI Assistant run,
72566
72566
  * executes each tool call, and returns the tool outputs for submission.
72567
72567
  *
72568
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. This method will be removed in the next major version.
72569
+ *
72568
72570
  * @param {string} userId - The user ID for authentication and tracking
72569
72571
  * @param {OpenAI.Beta.Threads.Run} run - The Assistant run object containing tool calls
72570
72572
  * @param {ExecuteToolFnOptions} [options] - Optional execution options
72571
72573
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
72572
72574
  * @returns {Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>} Array of tool outputs for submission
72573
72575
  *
72576
+ *
72574
72577
  * @example
72575
72578
  * ```typescript
72576
72579
  * // Handle tool calls from an OpenAI Assistant run
@@ -72614,6 +72617,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72614
72617
  * that require action, and yields each event from the stream. It's designed
72615
72618
  * for streaming Assistant responses while handling tool calls in real-time.
72616
72619
  *
72620
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
72621
+ *
72617
72622
  * @param {string} userId - The user ID for authentication and tracking
72618
72623
  * @param {OpenAI} client - The OpenAI client instance
72619
72624
  * @param {Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>} runStream - The Assistant run stream
@@ -72622,6 +72627,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72622
72627
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
72623
72628
  * @returns {AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>} Generator yielding stream events
72624
72629
  *
72630
+ *
72631
+ *
72625
72632
  * @example
72626
72633
  * ```typescript
72627
72634
  * // Process an OpenAI Assistant stream with tool calls
@@ -72656,6 +72663,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72656
72663
  * handles any tool calls, and returns the final run object. It's designed for
72657
72664
  * non-streaming Assistant interactions.
72658
72665
  *
72666
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
72667
+ *
72659
72668
  * @param {string} userId - The user ID for authentication and tracking
72660
72669
  * @param {OpenAI} client - The OpenAI client instance
72661
72670
  * @param {OpenAI.Beta.Threads.Run} run - The initial run object
@@ -72982,8 +72991,8 @@ declare class AuthScheme {
72982
72991
  * @returns ConnectionData object
72983
72992
  */
72984
72993
  static OAuth2(params: BaseConnectionFields & {
72985
- access_token: string;
72986
- token_type: string;
72994
+ access_token?: string;
72995
+ token_type?: string;
72987
72996
  id_token?: string;
72988
72997
  refresh_token?: string;
72989
72998
  expires_in?: number;
@@ -73007,7 +73016,7 @@ declare class AuthScheme {
73007
73016
  * @returns ConnectionData object
73008
73017
  */
73009
73018
  static OAuth1(params: BaseConnectionFields & {
73010
- oauth_token: string;
73019
+ oauth_token?: string;
73011
73020
  consumer_key?: string;
73012
73021
  redirectUrl?: string;
73013
73022
  callback_url?: string;
package/dist/index.d.ts CHANGED
@@ -72515,7 +72515,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72515
72515
  * console.log(JSON.parse(result));
72516
72516
  * ```
72517
72517
  */
72518
- executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
72518
+ executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageFunctionToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
72519
72519
  /**
72520
72520
  * Handles tool calls from OpenAI's chat completion response.
72521
72521
  *
@@ -72565,12 +72565,15 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72565
72565
  * This method processes tool calls from an OpenAI Assistant run,
72566
72566
  * executes each tool call, and returns the tool outputs for submission.
72567
72567
  *
72568
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. This method will be removed in the next major version.
72569
+ *
72568
72570
  * @param {string} userId - The user ID for authentication and tracking
72569
72571
  * @param {OpenAI.Beta.Threads.Run} run - The Assistant run object containing tool calls
72570
72572
  * @param {ExecuteToolFnOptions} [options] - Optional execution options
72571
72573
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
72572
72574
  * @returns {Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>} Array of tool outputs for submission
72573
72575
  *
72576
+ *
72574
72577
  * @example
72575
72578
  * ```typescript
72576
72579
  * // Handle tool calls from an OpenAI Assistant run
@@ -72614,6 +72617,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72614
72617
  * that require action, and yields each event from the stream. It's designed
72615
72618
  * for streaming Assistant responses while handling tool calls in real-time.
72616
72619
  *
72620
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
72621
+ *
72617
72622
  * @param {string} userId - The user ID for authentication and tracking
72618
72623
  * @param {OpenAI} client - The OpenAI client instance
72619
72624
  * @param {Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>} runStream - The Assistant run stream
@@ -72622,6 +72627,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72622
72627
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
72623
72628
  * @returns {AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>} Generator yielding stream events
72624
72629
  *
72630
+ *
72631
+ *
72625
72632
  * @example
72626
72633
  * ```typescript
72627
72634
  * // Process an OpenAI Assistant stream with tool calls
@@ -72656,6 +72663,8 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
72656
72663
  * handles any tool calls, and returns the final run object. It's designed for
72657
72664
  * non-streaming Assistant interactions.
72658
72665
  *
72666
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
72667
+ *
72659
72668
  * @param {string} userId - The user ID for authentication and tracking
72660
72669
  * @param {OpenAI} client - The OpenAI client instance
72661
72670
  * @param {OpenAI.Beta.Threads.Run} run - The initial run object
@@ -72982,8 +72991,8 @@ declare class AuthScheme {
72982
72991
  * @returns ConnectionData object
72983
72992
  */
72984
72993
  static OAuth2(params: BaseConnectionFields & {
72985
- access_token: string;
72986
- token_type: string;
72994
+ access_token?: string;
72995
+ token_type?: string;
72987
72996
  id_token?: string;
72988
72997
  refresh_token?: string;
72989
72998
  expires_in?: number;
@@ -73007,7 +73016,7 @@ declare class AuthScheme {
73007
73016
  * @returns ConnectionData object
73008
73017
  */
73009
73018
  static OAuth1(params: BaseConnectionFields & {
73010
- oauth_token: string;
73019
+ oauth_token?: string;
73011
73020
  consumer_key?: string;
73012
73021
  redirectUrl?: string;
73013
73022
  callback_url?: string;
package/dist/index.js CHANGED
@@ -3762,7 +3762,7 @@ var ConnectedAccounts = class {
3762
3762
  });
3763
3763
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) {
3764
3764
  throw new ComposioMultipleConnectedAccountsError(
3765
- `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`
3765
+ `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`
3766
3766
  );
3767
3767
  } else if (connectedAccount.items.length > 0) {
3768
3768
  logger_default.warn(
@@ -6274,7 +6274,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6274
6274
  async handleToolCalls(userId, chatCompletion, options, modifiers) {
6275
6275
  const outputs = [];
6276
6276
  for (const message of chatCompletion.choices) {
6277
- if (message.message.tool_calls) {
6277
+ if (message.message.tool_calls && message.message.tool_calls[0].type === "function") {
6278
6278
  const toolResult = await this.executeToolCall(
6279
6279
  userId,
6280
6280
  message.message.tool_calls[0],
@@ -6296,12 +6296,15 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6296
6296
  * This method processes tool calls from an OpenAI Assistant run,
6297
6297
  * executes each tool call, and returns the tool outputs for submission.
6298
6298
  *
6299
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. This method will be removed in the next major version.
6300
+ *
6299
6301
  * @param {string} userId - The user ID for authentication and tracking
6300
6302
  * @param {OpenAI.Beta.Threads.Run} run - The Assistant run object containing tool calls
6301
6303
  * @param {ExecuteToolFnOptions} [options] - Optional execution options
6302
6304
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
6303
6305
  * @returns {Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>} Array of tool outputs for submission
6304
6306
  *
6307
+ *
6305
6308
  * @example
6306
6309
  * ```typescript
6307
6310
  * // Handle tool calls from an OpenAI Assistant run
@@ -6364,6 +6367,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6364
6367
  * that require action, and yields each event from the stream. It's designed
6365
6368
  * for streaming Assistant responses while handling tool calls in real-time.
6366
6369
  *
6370
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
6371
+ *
6367
6372
  * @param {string} userId - The user ID for authentication and tracking
6368
6373
  * @param {OpenAI} client - The OpenAI client instance
6369
6374
  * @param {Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>} runStream - The Assistant run stream
@@ -6372,6 +6377,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6372
6377
  * @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
6373
6378
  * @returns {AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>} Generator yielding stream events
6374
6379
  *
6380
+ *
6381
+ *
6375
6382
  * @example
6376
6383
  * ```typescript
6377
6384
  * // Process an OpenAI Assistant stream with tool calls
@@ -6416,7 +6423,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6416
6423
  options,
6417
6424
  modifiers
6418
6425
  );
6419
- await client.beta.threads.runs.submitToolOutputs(thread.id, runId, {
6426
+ await client.beta.threads.runs.submitToolOutputs(runId, {
6427
+ thread_id: thread.id,
6420
6428
  tool_outputs: toolOutputs
6421
6429
  });
6422
6430
  }
@@ -6432,15 +6440,20 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6432
6440
  if (!runId) {
6433
6441
  throw new Error("No run ID found");
6434
6442
  }
6435
- let finalRun = await client.beta.threads.runs.retrieve(thread.id, runId);
6443
+ let finalRun = await client.beta.threads.runs.retrieve(runId, {
6444
+ thread_id: thread.id
6445
+ });
6436
6446
  while (["queued", "in_progress", "requires_action"].includes(finalRun.status)) {
6437
6447
  if (finalRun.status === "requires_action") {
6438
6448
  const toolOutputs = await this.handleAssistantMessage(userId, finalRun, options, modifiers);
6439
- finalRun = await client.beta.threads.runs.submitToolOutputs(thread.id, runId, {
6449
+ finalRun = await client.beta.threads.runs.submitToolOutputs(runId, {
6450
+ thread_id: thread.id,
6440
6451
  tool_outputs: toolOutputs
6441
6452
  });
6442
6453
  } else {
6443
- finalRun = await client.beta.threads.runs.retrieve(thread.id, runId);
6454
+ finalRun = await client.beta.threads.runs.retrieve(runId, {
6455
+ thread_id: thread.id
6456
+ });
6444
6457
  await new Promise((resolve) => setTimeout(resolve, 500));
6445
6458
  }
6446
6459
  }
@@ -6452,6 +6465,8 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6452
6465
  * handles any tool calls, and returns the final run object. It's designed for
6453
6466
  * non-streaming Assistant interactions.
6454
6467
  *
6468
+ * @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
6469
+ *
6455
6470
  * @param {string} userId - The user ID for authentication and tracking
6456
6471
  * @param {OpenAI} client - The OpenAI client instance
6457
6472
  * @param {OpenAI.Beta.Threads.Run} run - The initial run object
@@ -6492,11 +6507,14 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6492
6507
  while (["queued", "in_progress", "requires_action"].includes(run.status)) {
6493
6508
  const tool_outputs = await this.handleAssistantMessage(userId, run, options, modifiers);
6494
6509
  if (run.status === "requires_action") {
6495
- run = await client.beta.threads.runs.submitToolOutputs(thread.id, run.id, {
6510
+ run = await client.beta.threads.runs.submitToolOutputs(run.id, {
6511
+ thread_id: thread.id,
6496
6512
  tool_outputs
6497
6513
  });
6498
6514
  } else {
6499
- run = await client.beta.threads.runs.retrieve(thread.id, run.id);
6515
+ run = await client.beta.threads.runs.retrieve(run.id, {
6516
+ thread_id: thread.id
6517
+ });
6500
6518
  await new Promise((resolve) => setTimeout(resolve, 500));
6501
6519
  }
6502
6520
  }
@@ -6505,7 +6523,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6505
6523
  };
6506
6524
 
6507
6525
  // package.json
6508
- var version = "0.1.46";
6526
+ var version = "0.1.48";
6509
6527
 
6510
6528
  // src/models/Files.ts
6511
6529
  var Files = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/core",
3
- "version": "0.1.46",
3
+ "version": "0.1.48",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -39,7 +39,7 @@
39
39
  "@composio/json-schema-to-zod": "0.1.13",
40
40
  "@types/json-schema": "^7.0.15",
41
41
  "chalk": "^4.1.2",
42
- "openai": "^4.94.0",
42
+ "openai": "^5.16.0",
43
43
  "pusher-js": "^8.4.0",
44
44
  "semver": "^7.7.2",
45
45
  "uuid": "^11.1.0",