@ai-sdk/openai 1.3.7 → 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.
@@ -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 = "v1";
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 = "v1";
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 = "v1";
1847
+ this.specificationVersion = "v2";
1848
1848
  this.defaultObjectGenerationMode = "json";
1849
1849
  this.modelId = modelId;
1850
1850
  this.config = config;