@ai-sdk/openai 4.0.38 → 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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
+
## 4.0.40
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e19a4a6: Avoid duplicate MCP approval request references when continuing stored OpenAI Responses.
|
|
8
|
+
|
|
9
|
+
## 4.0.39
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [7fbfc6d]
|
|
14
|
+
- @ai-sdk/provider-utils@5.0.27
|
|
15
|
+
|
|
3
16
|
## 4.0.38
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -5009,7 +5009,7 @@ async function convertToOpenAIResponsesInput({
|
|
|
5009
5009
|
continue;
|
|
5010
5010
|
}
|
|
5011
5011
|
processedApprovalIds.add(approvalResponse.approvalId);
|
|
5012
|
-
if (store) {
|
|
5012
|
+
if (store && !hasConversation && !hasPreviousResponseId) {
|
|
5013
5013
|
input.push({
|
|
5014
5014
|
type: "item_reference",
|
|
5015
5015
|
id: approvalResponse.approvalId
|
|
@@ -10021,7 +10021,7 @@ var OpenAISkills = class {
|
|
|
10021
10021
|
};
|
|
10022
10022
|
|
|
10023
10023
|
// src/version.ts
|
|
10024
|
-
var VERSION = true ? "4.0.
|
|
10024
|
+
var VERSION = true ? "4.0.40" : "0.0.0-test";
|
|
10025
10025
|
|
|
10026
10026
|
// src/openai-provider.ts
|
|
10027
10027
|
function createOpenAI(options = {}) {
|