@ai-sdk/openai 3.0.48 → 3.0.50

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.
@@ -3076,6 +3076,11 @@ async function convertToOpenAIResponsesInput({
3076
3076
  filename: (_a2 = item.filename) != null ? _a2 : "data",
3077
3077
  file_data: `data:${item.mediaType};base64,${item.data}`
3078
3078
  };
3079
+ case "file-url":
3080
+ return {
3081
+ type: "input_file",
3082
+ file_url: item.url
3083
+ };
3079
3084
  default:
3080
3085
  warnings.push({
3081
3086
  type: "other",
@@ -3134,6 +3139,12 @@ async function convertToOpenAIResponsesInput({
3134
3139
  file_data: `data:${item.mediaType};base64,${item.data}`
3135
3140
  };
3136
3141
  }
3142
+ case "file-url": {
3143
+ return {
3144
+ type: "input_file",
3145
+ file_url: item.url
3146
+ };
3147
+ }
3137
3148
  default: {
3138
3149
  warnings.push({
3139
3150
  type: "other",