@ai-sdk/xai 4.0.0-beta.7 → 4.0.0-beta.8

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/dist/index.mjs CHANGED
@@ -356,7 +356,7 @@ function prepareTools({
356
356
  // src/xai-chat-language-model.ts
357
357
  var XaiChatLanguageModel = class {
358
358
  constructor(modelId, config) {
359
- this.specificationVersion = "v3";
359
+ this.specificationVersion = "v4";
360
360
  this.supportedUrls = {
361
361
  "image/*": [/^https?:\/\/.*$/]
362
362
  };
@@ -898,7 +898,7 @@ var XaiImageModel = class {
898
898
  constructor(modelId, config) {
899
899
  this.modelId = modelId;
900
900
  this.config = config;
901
- this.specificationVersion = "v3";
901
+ this.specificationVersion = "v4";
902
902
  this.maxImagesPerCall = 3;
903
903
  }
904
904
  get provider() {
@@ -1983,7 +1983,7 @@ async function prepareResponsesTools({
1983
1983
  // src/responses/xai-responses-language-model.ts
1984
1984
  var XaiResponsesLanguageModel = class {
1985
1985
  constructor(modelId, config) {
1986
- this.specificationVersion = "v3";
1986
+ this.specificationVersion = "v4";
1987
1987
  this.supportedUrls = {
1988
1988
  "image/*": [/^https?:\/\/.*$/]
1989
1989
  };
@@ -2745,7 +2745,7 @@ var xaiTools = {
2745
2745
  };
2746
2746
 
2747
2747
  // src/version.ts
2748
- var VERSION = true ? "4.0.0-beta.7" : "0.0.0-test";
2748
+ var VERSION = true ? "4.0.0-beta.8" : "0.0.0-test";
2749
2749
 
2750
2750
  // src/xai-video-model.ts
2751
2751
  import {
@@ -2786,7 +2786,7 @@ var XaiVideoModel = class {
2786
2786
  constructor(modelId, config) {
2787
2787
  this.modelId = modelId;
2788
2788
  this.config = config;
2789
- this.specificationVersion = "v3";
2789
+ this.specificationVersion = "v4";
2790
2790
  this.maxVideosPerCall = 1;
2791
2791
  }
2792
2792
  get provider() {
@@ -3039,7 +3039,7 @@ function createXai(options = {}) {
3039
3039
  });
3040
3040
  };
3041
3041
  const provider = (modelId) => createResponsesLanguageModel(modelId);
3042
- provider.specificationVersion = "v3";
3042
+ provider.specificationVersion = "v4";
3043
3043
  provider.languageModel = createResponsesLanguageModel;
3044
3044
  provider.chat = createChatLanguageModel;
3045
3045
  provider.responses = createResponsesLanguageModel;