@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.
@@ -1222,7 +1222,7 @@ var AnthropicMessagesLanguageModel = class {
1222
1222
  controller.enqueue(
1223
1223
  jsonResponseTool != null ? { type: "text-start", id: String(value.index) } : {
1224
1224
  type: "tool-input-start",
1225
- id: String(value.index),
1225
+ id: value.content_block.id,
1226
1226
  toolName: value.content_block.name
1227
1227
  }
1228
1228
  );