@ai-sdk/openai 3.0.0-beta.81 → 3.0.0-beta.83
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +5 -7
- package/dist/internal/index.d.ts +5 -7
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.83
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ef739fa: fix(openai): refactor apply-patch tool
|
|
8
|
+
|
|
9
|
+
## 3.0.0-beta.82
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [3ed5519]
|
|
14
|
+
- @ai-sdk/provider-utils@4.0.0-beta.42
|
|
15
|
+
|
|
3
16
|
## 3.0.0-beta.81
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -198,13 +198,13 @@ declare const openaiTools: {
|
|
|
198
198
|
* enabling iterative, multi-step code editing workflows.
|
|
199
199
|
*
|
|
200
200
|
*/
|
|
201
|
-
applyPatch:
|
|
201
|
+
applyPatch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
|
|
202
202
|
callId: string;
|
|
203
203
|
operation: ApplyPatchOperation;
|
|
204
204
|
}, {
|
|
205
205
|
status: "completed" | "failed";
|
|
206
206
|
output?: string;
|
|
207
|
-
}>;
|
|
207
|
+
}, {}>;
|
|
208
208
|
/**
|
|
209
209
|
* The Code Interpreter tool allows models to write and run Python code in a
|
|
210
210
|
* sandboxed environment to solve complex problems in domains like data analysis,
|
package/dist/index.d.ts
CHANGED
|
@@ -198,13 +198,13 @@ declare const openaiTools: {
|
|
|
198
198
|
* enabling iterative, multi-step code editing workflows.
|
|
199
199
|
*
|
|
200
200
|
*/
|
|
201
|
-
applyPatch:
|
|
201
|
+
applyPatch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
|
|
202
202
|
callId: string;
|
|
203
203
|
operation: ApplyPatchOperation;
|
|
204
204
|
}, {
|
|
205
205
|
status: "completed" | "failed";
|
|
206
206
|
output?: string;
|
|
207
|
-
}>;
|
|
207
|
+
}, {}>;
|
|
208
208
|
/**
|
|
209
209
|
* The Code Interpreter tool allows models to write and run Python code in a
|
|
210
210
|
* sandboxed environment to solve complex problems in domains like data analysis,
|
package/dist/index.js
CHANGED
|
@@ -1786,7 +1786,7 @@ var applyPatchToolFactory = (0, import_provider_utils14.createProviderToolFactor
|
|
|
1786
1786
|
inputSchema: applyPatchInputSchema,
|
|
1787
1787
|
outputSchema: applyPatchOutputSchema
|
|
1788
1788
|
});
|
|
1789
|
-
var applyPatch =
|
|
1789
|
+
var applyPatch = applyPatchToolFactory;
|
|
1790
1790
|
|
|
1791
1791
|
// src/tool/code-interpreter.ts
|
|
1792
1792
|
var import_provider_utils15 = require("@ai-sdk/provider-utils");
|
|
@@ -5412,7 +5412,7 @@ var OpenAITranscriptionModel = class {
|
|
|
5412
5412
|
};
|
|
5413
5413
|
|
|
5414
5414
|
// src/version.ts
|
|
5415
|
-
var VERSION = true ? "3.0.0-beta.
|
|
5415
|
+
var VERSION = true ? "3.0.0-beta.83" : "0.0.0-test";
|
|
5416
5416
|
|
|
5417
5417
|
// src/openai-provider.ts
|
|
5418
5418
|
function createOpenAI(options = {}) {
|