@openrouter/ai-sdk-provider 1.2.5 → 1.2.6
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/internal/index.mjs
CHANGED
|
@@ -1325,7 +1325,7 @@ var OpenRouterNonStreamChatCompletionResponseSchema = z7.union([
|
|
|
1325
1325
|
content: z7.array(
|
|
1326
1326
|
z7.object({
|
|
1327
1327
|
type: z7.string(),
|
|
1328
|
-
text: z7.string()
|
|
1328
|
+
text: z7.string().optional()
|
|
1329
1329
|
}).passthrough()
|
|
1330
1330
|
).optional()
|
|
1331
1331
|
}).passthrough()
|
|
@@ -1408,7 +1408,7 @@ var OpenRouterStreamChatCompletionChunkSchema = z7.union([
|
|
|
1408
1408
|
content: z7.array(
|
|
1409
1409
|
z7.object({
|
|
1410
1410
|
type: z7.string(),
|
|
1411
|
-
text: z7.string()
|
|
1411
|
+
text: z7.string().optional()
|
|
1412
1412
|
}).passthrough()
|
|
1413
1413
|
).optional()
|
|
1414
1414
|
}).passthrough()
|