@ai-sdk/openai 3.0.95 → 3.0.97
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 +13 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +3 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +3 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/responses/convert-to-openai-responses-input.ts +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
+
## 3.0.97
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [31205a4]
|
|
8
|
+
- @ai-sdk/provider-utils@4.0.46
|
|
9
|
+
|
|
10
|
+
## 3.0.96
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 64facff: Reconstruct provider-executed shell calls when continuing OpenAI Responses with storage disabled.
|
|
15
|
+
|
|
3
16
|
## 3.0.95
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -3189,7 +3189,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
3189
3189
|
if (store && id != null) {
|
|
3190
3190
|
input.push({ type: "item_reference", id });
|
|
3191
3191
|
}
|
|
3192
|
-
|
|
3192
|
+
if (store || !hasShellTool || resolvedToolName !== "shell") {
|
|
3193
|
+
break;
|
|
3194
|
+
}
|
|
3193
3195
|
}
|
|
3194
3196
|
const isProviderDefinedToolCall = hasLocalShellTool && resolvedToolName === "local_shell" || hasShellTool && resolvedToolName === "shell" || hasApplyPatchTool && resolvedToolName === "apply_patch" || ((_m = customProviderToolNames == null ? void 0 : customProviderToolNames.has(resolvedToolName)) != null ? _m : false);
|
|
3195
3197
|
if (hasPreviousResponseId && store && id != null && isProviderDefinedToolCall) {
|
|
@@ -7355,7 +7357,7 @@ var OpenAITranscriptionModel = class {
|
|
|
7355
7357
|
};
|
|
7356
7358
|
|
|
7357
7359
|
// src/version.ts
|
|
7358
|
-
var VERSION = true ? "3.0.
|
|
7360
|
+
var VERSION = true ? "3.0.97" : "0.0.0-test";
|
|
7359
7361
|
|
|
7360
7362
|
// src/openai-provider.ts
|
|
7361
7363
|
function createOpenAI(options = {}) {
|