@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.js
CHANGED
|
@@ -1359,7 +1359,7 @@ var OpenRouterNonStreamChatCompletionResponseSchema = import_v46.z.union([
|
|
|
1359
1359
|
content: import_v46.z.array(
|
|
1360
1360
|
import_v46.z.object({
|
|
1361
1361
|
type: import_v46.z.string(),
|
|
1362
|
-
text: import_v46.z.string()
|
|
1362
|
+
text: import_v46.z.string().optional()
|
|
1363
1363
|
}).passthrough()
|
|
1364
1364
|
).optional()
|
|
1365
1365
|
}).passthrough()
|
|
@@ -1442,7 +1442,7 @@ var OpenRouterStreamChatCompletionChunkSchema = import_v46.z.union([
|
|
|
1442
1442
|
content: import_v46.z.array(
|
|
1443
1443
|
import_v46.z.object({
|
|
1444
1444
|
type: import_v46.z.string(),
|
|
1445
|
-
text: import_v46.z.string()
|
|
1445
|
+
text: import_v46.z.string().optional()
|
|
1446
1446
|
}).passthrough()
|
|
1447
1447
|
).optional()
|
|
1448
1448
|
}).passthrough()
|