@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.
@@ -1245,7 +1245,7 @@ var AnthropicMessagesLanguageModel = class {
1245
1245
  controller.enqueue(
1246
1246
  jsonResponseTool != null ? { type: "text-start", id: String(value.index) } : {
1247
1247
  type: "tool-input-start",
1248
- id: String(value.index),
1248
+ id: value.content_block.id,
1249
1249
  toolName: value.content_block.name
1250
1250
  }
1251
1251
  );