@ai-sdk/openai 1.3.20 → 1.3.21
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 +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/internal/dist/index.js +2 -2
- package/internal/dist/index.js.map +1 -1
- package/internal/dist/index.mjs +2 -2
- package/internal/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/internal/dist/index.js
CHANGED
|
@@ -1026,7 +1026,7 @@ var openaiChatChunkSchema = import_zod2.z.union([
|
|
|
1026
1026
|
import_zod2.z.object({
|
|
1027
1027
|
index: import_zod2.z.number(),
|
|
1028
1028
|
id: import_zod2.z.string().nullish(),
|
|
1029
|
-
type: import_zod2.z.literal("function").
|
|
1029
|
+
type: import_zod2.z.literal("function").nullish(),
|
|
1030
1030
|
function: import_zod2.z.object({
|
|
1031
1031
|
name: import_zod2.z.string().nullish(),
|
|
1032
1032
|
arguments: import_zod2.z.string().nullish()
|
|
@@ -1048,7 +1048,7 @@ var openaiChatChunkSchema = import_zod2.z.union([
|
|
|
1048
1048
|
})
|
|
1049
1049
|
).nullable()
|
|
1050
1050
|
}).nullish(),
|
|
1051
|
-
finish_reason: import_zod2.z.string().
|
|
1051
|
+
finish_reason: import_zod2.z.string().nullish(),
|
|
1052
1052
|
index: import_zod2.z.number()
|
|
1053
1053
|
})
|
|
1054
1054
|
),
|