@ai-sdk/openai 4.0.40 → 4.0.41
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
package/dist/index.js
CHANGED
|
@@ -4689,7 +4689,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
4689
4689
|
if (store && id != null) {
|
|
4690
4690
|
input.push({ type: "item_reference", id });
|
|
4691
4691
|
}
|
|
4692
|
-
|
|
4692
|
+
if (store || !hasShellTool || resolvedToolName !== "shell") {
|
|
4693
|
+
break;
|
|
4694
|
+
}
|
|
4693
4695
|
}
|
|
4694
4696
|
const isProviderDefinedToolCall = hasLocalShellTool && resolvedToolName === "local_shell" || hasShellTool && resolvedToolName === "shell" || hasApplyPatchTool && resolvedToolName === "apply_patch" || hasComputerTool && resolvedToolName === "computer" || ((_o = customProviderToolNames == null ? void 0 : customProviderToolNames.has(resolvedToolName)) != null ? _o : false);
|
|
4695
4697
|
if (hasPreviousResponseId && store && id != null && isProviderDefinedToolCall) {
|
|
@@ -10021,7 +10023,7 @@ var OpenAISkills = class {
|
|
|
10021
10023
|
};
|
|
10022
10024
|
|
|
10023
10025
|
// src/version.ts
|
|
10024
|
-
var VERSION = true ? "4.0.
|
|
10026
|
+
var VERSION = true ? "4.0.41" : "0.0.0-test";
|
|
10025
10027
|
|
|
10026
10028
|
// src/openai-provider.ts
|
|
10027
10029
|
function createOpenAI(options = {}) {
|