@ai-sdk/anthropic 2.0.9 → 2.0.10

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.
@@ -778,6 +778,8 @@ function mapAnthropicStopReason({
778
778
  case "end_turn":
779
779
  case "stop_sequence":
780
780
  return "stop";
781
+ case "refusal":
782
+ return "content-filter";
781
783
  case "tool_use":
782
784
  return isJsonResponseFromTool ? "stop" : "tool-calls";
783
785
  case "max_tokens":