@ai-sdk/openai 2.0.0-canary.0 → 2.0.0-canary.1
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 +9 -0
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +122 -122
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +122 -122
- package/dist/index.mjs.map +1 -1
- package/internal/dist/index.d.mts +13 -13
- package/internal/dist/index.d.ts +13 -13
- package/internal/dist/index.js +3 -3
- package/internal/dist/index.js.map +1 -1
- package/internal/dist/index.mjs +3 -3
- package/internal/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/internal/dist/index.mjs
CHANGED
|
@@ -354,7 +354,7 @@ function prepareTools({
|
|
|
354
354
|
// src/openai-chat-language-model.ts
|
|
355
355
|
var OpenAIChatLanguageModel = class {
|
|
356
356
|
constructor(modelId, settings, config) {
|
|
357
|
-
this.specificationVersion = "
|
|
357
|
+
this.specificationVersion = "v2";
|
|
358
358
|
this.modelId = modelId;
|
|
359
359
|
this.settings = settings;
|
|
360
360
|
this.config = config;
|
|
@@ -1177,7 +1177,7 @@ function mapOpenAICompletionLogProbs(logprobs) {
|
|
|
1177
1177
|
// src/openai-completion-language-model.ts
|
|
1178
1178
|
var OpenAICompletionLanguageModel = class {
|
|
1179
1179
|
constructor(modelId, settings, config) {
|
|
1180
|
-
this.specificationVersion = "
|
|
1180
|
+
this.specificationVersion = "v2";
|
|
1181
1181
|
this.defaultObjectGenerationMode = void 0;
|
|
1182
1182
|
this.modelId = modelId;
|
|
1183
1183
|
this.settings = settings;
|
|
@@ -1844,7 +1844,7 @@ function prepareResponsesTools({
|
|
|
1844
1844
|
// src/responses/openai-responses-language-model.ts
|
|
1845
1845
|
var OpenAIResponsesLanguageModel = class {
|
|
1846
1846
|
constructor(modelId, config) {
|
|
1847
|
-
this.specificationVersion = "
|
|
1847
|
+
this.specificationVersion = "v2";
|
|
1848
1848
|
this.defaultObjectGenerationMode = "json";
|
|
1849
1849
|
this.modelId = modelId;
|
|
1850
1850
|
this.config = config;
|