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

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.
@@ -781,7 +781,13 @@ function buildBody(params, stream) {
781
781
  body.tools = tools.map((t) => ({
782
782
  name: t.name,
783
783
  description: t.description,
784
- input_schema: t.inputSchema
784
+ input_schema: t.inputSchema,
785
+ // Anthropic buffers each parameter value by default. That makes a tool
786
+ // with one large string argument (code, SVG, a document, etc.) appear to
787
+ // have no input until the whole value has finished generating. Request
788
+ // eager input only for streaming calls so input_json_delta events arrive
789
+ // while the model is still writing the value.
790
+ ...stream ? { eager_input_streaming: true } : {}
785
791
  }));
786
792
  }
787
793
  return body;
@@ -2552,7 +2558,7 @@ function providerConfigFromOptions(provider, model, config) {
2552
2558
  }
2553
2559
 
2554
2560
  // src/version.ts
2555
- var VERSION = "2.0.0-beta.2";
2561
+ var VERSION = "2.0.0-beta.4";
2556
2562
  function getPackageVersion() {
2557
2563
  return VERSION;
2558
2564
  }