@ai-sdk/openai 2.0.24 → 2.0.25

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.
@@ -1955,7 +1955,13 @@ var OpenAITranscriptionModel = class {
1955
1955
  };
1956
1956
  for (const [key, value] of Object.entries(transcriptionModelOptions)) {
1957
1957
  if (value != null) {
1958
- formData.append(key, String(value));
1958
+ if (Array.isArray(value)) {
1959
+ for (const item of value) {
1960
+ formData.append(`${key}[]`, String(item));
1961
+ }
1962
+ } else {
1963
+ formData.append(key, String(value));
1964
+ }
1959
1965
  }
1960
1966
  }
1961
1967
  }