@ai-sdk/openai 4.0.0-beta.36 → 4.0.0-beta.38

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.
@@ -248,7 +248,7 @@ function convertToOpenAIChatMessages({
248
248
  }
249
249
  messages.push({
250
250
  role: "assistant",
251
- content: text,
251
+ content: text || null,
252
252
  tool_calls: toolCalls.length > 0 ? toolCalls : void 0
253
253
  });
254
254
  break;