@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/index.js
CHANGED
|
@@ -1405,7 +1405,7 @@ var OpenRouterNonStreamChatCompletionResponseSchema = import_v46.z.union([
|
|
|
1405
1405
|
content: import_v46.z.array(
|
|
1406
1406
|
import_v46.z.object({
|
|
1407
1407
|
type: import_v46.z.string(),
|
|
1408
|
-
text: import_v46.z.string()
|
|
1408
|
+
text: import_v46.z.string().optional()
|
|
1409
1409
|
}).passthrough()
|
|
1410
1410
|
).optional()
|
|
1411
1411
|
}).passthrough()
|
|
@@ -1488,7 +1488,7 @@ var OpenRouterStreamChatCompletionChunkSchema = import_v46.z.union([
|
|
|
1488
1488
|
content: import_v46.z.array(
|
|
1489
1489
|
import_v46.z.object({
|
|
1490
1490
|
type: import_v46.z.string(),
|
|
1491
|
-
text: import_v46.z.string()
|
|
1491
|
+
text: import_v46.z.string().optional()
|
|
1492
1492
|
}).passthrough()
|
|
1493
1493
|
).optional()
|
|
1494
1494
|
}).passthrough()
|
|
@@ -2628,7 +2628,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
|
|
2630
2630
|
// src/version.ts
|
|
2631
|
-
var VERSION = false ? "0.0.0-test" : "1.2.
|
|
2631
|
+
var VERSION = false ? "0.0.0-test" : "1.2.6";
|
|
2632
2632
|
|
|
2633
2633
|
// src/provider.ts
|
|
2634
2634
|
function createOpenRouter(options = {}) {
|