@mcp-use/agent 2.0.0-beta.4 → 2.0.0-beta.6

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
@@ -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;
@@ -2561,7 +2567,7 @@ function providerConfigFromOptions(provider, model, config) {
2561
2567
  }
2562
2568
 
2563
2569
  // src/version.ts
2564
- var VERSION = "2.0.0-beta.3";
2570
+ var VERSION = "2.0.0-beta.5";
2565
2571
  function getPackageVersion() {
2566
2572
  return VERSION;
2567
2573
  }