@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.mjs
CHANGED
|
@@ -1370,7 +1370,7 @@ var OpenRouterNonStreamChatCompletionResponseSchema = z7.union([
|
|
|
1370
1370
|
content: z7.array(
|
|
1371
1371
|
z7.object({
|
|
1372
1372
|
type: z7.string(),
|
|
1373
|
-
text: z7.string()
|
|
1373
|
+
text: z7.string().optional()
|
|
1374
1374
|
}).passthrough()
|
|
1375
1375
|
).optional()
|
|
1376
1376
|
}).passthrough()
|
|
@@ -1453,7 +1453,7 @@ var OpenRouterStreamChatCompletionChunkSchema = z7.union([
|
|
|
1453
1453
|
content: z7.array(
|
|
1454
1454
|
z7.object({
|
|
1455
1455
|
type: z7.string(),
|
|
1456
|
-
text: z7.string()
|
|
1456
|
+
text: z7.string().optional()
|
|
1457
1457
|
}).passthrough()
|
|
1458
1458
|
).optional()
|
|
1459
1459
|
}).passthrough()
|
|
@@ -2593,7 +2593,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
2593
2593
|
}
|
|
2594
2594
|
|
|
2595
2595
|
// src/version.ts
|
|
2596
|
-
var VERSION = false ? "0.0.0-test" : "1.2.
|
|
2596
|
+
var VERSION = false ? "0.0.0-test" : "1.2.6";
|
|
2597
2597
|
|
|
2598
2598
|
// src/provider.ts
|
|
2599
2599
|
function createOpenRouter(options = {}) {
|