@ai-sdk/openai 4.0.39 → 4.0.40

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.
@@ -4028,7 +4028,7 @@ async function convertToOpenAIResponsesInput({
4028
4028
  continue;
4029
4029
  }
4030
4030
  processedApprovalIds.add(approvalResponse.approvalId);
4031
- if (store) {
4031
+ if (store && !hasConversation && !hasPreviousResponseId) {
4032
4032
  input.push({
4033
4033
  type: "item_reference",
4034
4034
  id: approvalResponse.approvalId