@ai-sdk/openai 1.3.14 → 1.3.16
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/internal/dist/index.d.mts +2 -2
- package/internal/dist/index.d.ts +2 -2
- package/internal/dist/index.js +1 -1
- package/internal/dist/index.js.map +1 -1
- package/internal/dist/index.mjs +1 -1
- package/internal/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/internal/dist/index.mjs
CHANGED
|
@@ -1037,7 +1037,7 @@ var openaiChatChunkSchema = z2.union([
|
|
|
1037
1037
|
openaiErrorDataSchema
|
|
1038
1038
|
]);
|
|
1039
1039
|
function isReasoningModel(modelId) {
|
|
1040
|
-
return modelId
|
|
1040
|
+
return modelId.startsWith("o");
|
|
1041
1041
|
}
|
|
1042
1042
|
function isAudioModel(modelId) {
|
|
1043
1043
|
return modelId.startsWith("gpt-4o-audio-preview");
|