@ai-sdk/openai 3.0.93 → 3.0.94

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,13 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 3.0.94
4
+
5
+ ### Patch Changes
6
+
7
+ - d3247d7: Keep client-executed function calls paired with their outputs when chaining OpenAI Responses with a previous response ID.
8
+ - Updated dependencies [b2a4d5a]
9
+ - @ai-sdk/provider-utils@4.0.45
10
+
3
11
  ## 3.0.93
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3191,10 +3191,10 @@ async function convertToOpenAIResponsesInput({
3191
3191
  }
3192
3192
  break;
3193
3193
  }
3194
- if (hasPreviousResponseId && store && id != null) {
3194
+ 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
+ if (hasPreviousResponseId && store && id != null && isProviderDefinedToolCall) {
3195
3196
  break;
3196
3197
  }
3197
- const isProviderDefinedToolCall = hasLocalShellTool && resolvedToolName === "local_shell" || hasShellTool && resolvedToolName === "shell" || hasApplyPatchTool && resolvedToolName === "apply_patch" || ((_m = customProviderToolNames == null ? void 0 : customProviderToolNames.has(resolvedToolName)) != null ? _m : false);
3198
3198
  if (store && id != null && isProviderDefinedToolCall) {
3199
3199
  input.push({ type: "item_reference", id });
3200
3200
  break;
@@ -7355,7 +7355,7 @@ var OpenAITranscriptionModel = class {
7355
7355
  };
7356
7356
 
7357
7357
  // src/version.ts
7358
- var VERSION = true ? "3.0.93" : "0.0.0-test";
7358
+ var VERSION = true ? "3.0.94" : "0.0.0-test";
7359
7359
 
7360
7360
  // src/openai-provider.ts
7361
7361
  function createOpenAI(options = {}) {