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

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.cjs CHANGED
@@ -2381,6 +2381,9 @@ async function* runToolLoop(params) {
2381
2381
  yield ev;
2382
2382
  }
2383
2383
  } catch (err) {
2384
+ if (err instanceof LlmRequestError) {
2385
+ throw err;
2386
+ }
2384
2387
  yield {
2385
2388
  type: "error",
2386
2389
  message: err instanceof Error ? err.message : String(err)
@@ -2608,7 +2611,7 @@ function providerConfigFromOptions(provider, model, config) {
2608
2611
  }
2609
2612
 
2610
2613
  // src/version.ts
2611
- var VERSION = "2.0.0-beta.0";
2614
+ var VERSION = "2.0.0-beta.2";
2612
2615
  function getPackageVersion() {
2613
2616
  return VERSION;
2614
2617
  }