@ai-sdk/openai 2.1.0-beta.6 → 2.1.0-beta.7
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 +11 -0
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +225 -14
- package/dist/internal/index.d.ts +225 -14
- package/dist/internal/index.js +22 -3
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +14 -3
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -405,7 +405,7 @@ function prepareChatTools({
|
|
|
405
405
|
// src/chat/openai-chat-language-model.ts
|
|
406
406
|
var OpenAIChatLanguageModel = class {
|
|
407
407
|
constructor(modelId, config) {
|
|
408
|
-
this.specificationVersion = "
|
|
408
|
+
this.specificationVersion = "v3";
|
|
409
409
|
this.supportedUrls = {
|
|
410
410
|
"image/*": [/^https?:\/\/.*$/]
|
|
411
411
|
};
|
|
@@ -1223,7 +1223,7 @@ var openaiCompletionProviderOptions = z4.object({
|
|
|
1223
1223
|
// src/completion/openai-completion-language-model.ts
|
|
1224
1224
|
var OpenAICompletionLanguageModel = class {
|
|
1225
1225
|
constructor(modelId, config) {
|
|
1226
|
-
this.specificationVersion = "
|
|
1226
|
+
this.specificationVersion = "v3";
|
|
1227
1227
|
this.supportedUrls = {
|
|
1228
1228
|
// No URLs are supported for completion models.
|
|
1229
1229
|
};
|
|
@@ -2397,7 +2397,7 @@ var LOGPROBS_SCHEMA = z15.array(
|
|
|
2397
2397
|
);
|
|
2398
2398
|
var OpenAIResponsesLanguageModel = class {
|
|
2399
2399
|
constructor(modelId, config) {
|
|
2400
|
-
this.specificationVersion = "
|
|
2400
|
+
this.specificationVersion = "v3";
|
|
2401
2401
|
this.supportedUrls = {
|
|
2402
2402
|
"image/*": [/^https?:\/\/.*$/],
|
|
2403
2403
|
"application/pdf": [/^https?:\/\/.*$/]
|
|
@@ -3919,7 +3919,7 @@ var openaiTranscriptionResponseSchema = z18.object({
|
|
|
3919
3919
|
});
|
|
3920
3920
|
|
|
3921
3921
|
// src/version.ts
|
|
3922
|
-
var VERSION = true ? "2.1.0-beta.
|
|
3922
|
+
var VERSION = true ? "2.1.0-beta.7" : "0.0.0-test";
|
|
3923
3923
|
|
|
3924
3924
|
// src/openai-provider.ts
|
|
3925
3925
|
function createOpenAI(options = {}) {
|