@ai-sdk/openai-compatible 2.0.85 → 2.0.86

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.
@@ -324,8 +324,6 @@ export class OpenAICompatibleChatLanguageModel implements LanguageModelV3 {
324
324
 
325
325
  const content: Array<LanguageModelV3Content> = [];
326
326
 
327
- content.push(...convertOpenAICompatibleContent(choice.message.content));
328
-
329
327
  // reasoning content:
330
328
  const reasoning =
331
329
  choice.message.reasoning_content ?? choice.message.reasoning;
@@ -336,6 +334,8 @@ export class OpenAICompatibleChatLanguageModel implements LanguageModelV3 {
336
334
  });
337
335
  }
338
336
 
337
+ content.push(...convertOpenAICompatibleContent(choice.message.content));
338
+
339
339
  // tool calls:
340
340
  if (choice.message.tool_calls != null) {
341
341
  for (const toolCall of choice.message.tool_calls) {