@ai-sdk/openai 2.1.0-beta.13 → 2.1.0-beta.15
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 +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +6 -3
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +6 -3
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
+
## 2.1.0-beta.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e06565c]
|
|
8
|
+
- @ai-sdk/provider-utils@3.1.0-beta.8
|
|
9
|
+
|
|
10
|
+
## 2.1.0-beta.14
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
|
|
15
|
+
|
|
3
16
|
## 2.1.0-beta.13
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -3089,7 +3089,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
3089
3089
|
controller.enqueue({
|
|
3090
3090
|
type: "tool-input-start",
|
|
3091
3091
|
id: value.item.id,
|
|
3092
|
-
toolName: webSearchToolName != null ? webSearchToolName : "web_search"
|
|
3092
|
+
toolName: webSearchToolName != null ? webSearchToolName : "web_search",
|
|
3093
|
+
providerExecuted: true
|
|
3093
3094
|
});
|
|
3094
3095
|
} else if (value.item.type === "computer_call") {
|
|
3095
3096
|
ongoingToolCalls[value.output_index] = {
|
|
@@ -3099,7 +3100,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
3099
3100
|
controller.enqueue({
|
|
3100
3101
|
type: "tool-input-start",
|
|
3101
3102
|
id: value.item.id,
|
|
3102
|
-
toolName: "computer_use"
|
|
3103
|
+
toolName: "computer_use",
|
|
3104
|
+
providerExecuted: true
|
|
3103
3105
|
});
|
|
3104
3106
|
} else if (value.item.type === "code_interpreter_call") {
|
|
3105
3107
|
ongoingToolCalls[value.output_index] = {
|
|
@@ -3112,7 +3114,8 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
3112
3114
|
controller.enqueue({
|
|
3113
3115
|
type: "tool-input-start",
|
|
3114
3116
|
id: value.item.id,
|
|
3115
|
-
toolName: "code_interpreter"
|
|
3117
|
+
toolName: "code_interpreter",
|
|
3118
|
+
providerExecuted: true
|
|
3116
3119
|
});
|
|
3117
3120
|
controller.enqueue({
|
|
3118
3121
|
type: "tool-input-delta",
|
|
@@ -4113,7 +4116,7 @@ var openaiTranscriptionResponseSchema = import_v419.z.object({
|
|
|
4113
4116
|
});
|
|
4114
4117
|
|
|
4115
4118
|
// src/version.ts
|
|
4116
|
-
var VERSION = true ? "2.1.0-beta.
|
|
4119
|
+
var VERSION = true ? "2.1.0-beta.15" : "0.0.0-test";
|
|
4117
4120
|
|
|
4118
4121
|
// src/openai-provider.ts
|
|
4119
4122
|
function createOpenAI(options = {}) {
|