@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 CHANGED
@@ -3086,7 +3086,7 @@ function convertToOpenRouterChatMessages(prompt) {
3086
3086
  const effectiveReasoning = reasoning && finalReasoningDetails && finalReasoningDetails.length > 0 ? reasoning : void 0;
3087
3087
  messages.push({
3088
3088
  role: "assistant",
3089
- content: text,
3089
+ content: text || null,
3090
3090
  tool_calls: toolCalls.length > 0 ? toolCalls : void 0,
3091
3091
  reasoning: effectiveReasoning,
3092
3092
  reasoning_details: finalReasoningDetails,
@@ -5101,7 +5101,7 @@ function withUserAgentSuffix2(headers, ...userAgentSuffixParts) {
5101
5101
  }
5102
5102
 
5103
5103
  // src/version.ts
5104
- var VERSION2 = false ? "0.0.0-test" : "2.9.0";
5104
+ var VERSION2 = false ? "0.0.0-test" : "2.9.1";
5105
5105
 
5106
5106
  // src/video/schemas.ts
5107
5107
  var import_v411 = require("zod/v4");