@mcp-use/agent 2.0.19 → 2.0.20-canary.1

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/dist/index.js CHANGED
@@ -2360,6 +2360,7 @@ var OpenAIResponsesDriver = class {
2360
2360
  break;
2361
2361
  }
2362
2362
  for (const tc of turn.toolCalls) {
2363
+ if (params.signal?.aborted) break;
2363
2364
  let result;
2364
2365
  let isError = false;
2365
2366
  try {
@@ -2543,6 +2544,7 @@ async function runToolLoopNonStreaming(params) {
2543
2544
  toolCalls
2544
2545
  });
2545
2546
  for (const tc of toolCalls) {
2547
+ if (signal?.aborted) break;
2546
2548
  let result;
2547
2549
  let isError = false;
2548
2550
  try {
@@ -2701,7 +2703,7 @@ function providerConfigFromOptions(provider, model, config) {
2701
2703
  }
2702
2704
 
2703
2705
  // src/version.ts
2704
- var VERSION = "2.0.19";
2706
+ var VERSION = "2.0.20-canary.1";
2705
2707
  function getPackageVersion() {
2706
2708
  return VERSION;
2707
2709
  }