@ai-sdk/openai 3.0.94 → 3.0.95

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "3.0.94",
3
+ "version": "3.0.95",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -689,7 +689,7 @@ export async function convertToOpenAIResponsesInput({
689
689
  }
690
690
  processedApprovalIds.add(approvalResponse.approvalId);
691
691
 
692
- if (store) {
692
+ if (store && !hasConversation && !hasPreviousResponseId) {
693
693
  input.push({
694
694
  type: 'item_reference',
695
695
  id: approvalResponse.approvalId,