@ai-sdk/anthropic 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.mjs CHANGED
@@ -1232,7 +1232,7 @@ var AnthropicMessagesLanguageModel = class {
1232
1232
  controller.enqueue(
1233
1233
  jsonResponseTool != null ? { type: "text-start", id: String(value.index) } : {
1234
1234
  type: "tool-input-start",
1235
- id: String(value.index),
1235
+ id: value.content_block.id,
1236
1236
  toolName: value.content_block.name
1237
1237
  }
1238
1238
  );