@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.
@@ -3013,7 +3013,7 @@ function convertToOpenRouterChatMessages(prompt) {
3013
3013
  const effectiveReasoning = reasoning && finalReasoningDetails && finalReasoningDetails.length > 0 ? reasoning : void 0;
3014
3014
  messages.push({
3015
3015
  role: "assistant",
3016
- content: text,
3016
+ content: text || null,
3017
3017
  tool_calls: toolCalls.length > 0 ? toolCalls : void 0,
3018
3018
  reasoning: effectiveReasoning,
3019
3019
  reasoning_details: finalReasoningDetails,