@openrouter/ai-sdk-provider 2.9.0 → 2.9.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3053,7 +3053,7 @@ function convertToOpenRouterChatMessages(prompt) {
|
|
|
3053
3053
|
const effectiveReasoning = reasoning && finalReasoningDetails && finalReasoningDetails.length > 0 ? reasoning : void 0;
|
|
3054
3054
|
messages.push({
|
|
3055
3055
|
role: "assistant",
|
|
3056
|
-
content: text,
|
|
3056
|
+
content: text || null,
|
|
3057
3057
|
tool_calls: toolCalls.length > 0 ? toolCalls : void 0,
|
|
3058
3058
|
reasoning: effectiveReasoning,
|
|
3059
3059
|
reasoning_details: finalReasoningDetails,
|
|
@@ -5068,7 +5068,7 @@ function withUserAgentSuffix2(headers, ...userAgentSuffixParts) {
|
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
5070
|
// src/version.ts
|
|
5071
|
-
var VERSION2 = false ? "0.0.0-test" : "2.9.
|
|
5071
|
+
var VERSION2 = false ? "0.0.0-test" : "2.9.1";
|
|
5072
5072
|
|
|
5073
5073
|
// src/video/schemas.ts
|
|
5074
5074
|
import { z as z12 } from "zod/v4";
|