@mcp-use/agent 2.0.0-beta.1 → 2.0.0-beta.2

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
@@ -2331,6 +2331,9 @@ async function* runToolLoop(params) {
2331
2331
  yield ev;
2332
2332
  }
2333
2333
  } catch (err) {
2334
+ if (err instanceof LlmRequestError) {
2335
+ throw err;
2336
+ }
2334
2337
  yield {
2335
2338
  type: "error",
2336
2339
  message: err instanceof Error ? err.message : String(err)
@@ -2558,7 +2561,7 @@ function providerConfigFromOptions(provider, model, config) {
2558
2561
  }
2559
2562
 
2560
2563
  // src/version.ts
2561
- var VERSION = "2.0.0-beta.0";
2564
+ var VERSION = "2.0.0-beta.1";
2562
2565
  function getPackageVersion() {
2563
2566
  return VERSION;
2564
2567
  }