@ai-sdk/xai 3.0.0-beta.58 → 3.0.0-beta.60

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
@@ -403,7 +403,7 @@ var XaiChatLanguageModel = class {
403
403
  // model id
404
404
  model: this.modelId,
405
405
  // standard generation settings
406
- max_tokens: maxOutputTokens,
406
+ max_completion_tokens: maxOutputTokens,
407
407
  temperature,
408
408
  top_p: topP,
409
409
  seed,
@@ -1552,7 +1552,7 @@ var XaiResponsesLanguageModel = class {
1552
1552
  const baseArgs = {
1553
1553
  model: this.modelId,
1554
1554
  input,
1555
- max_tokens: maxOutputTokens,
1555
+ max_output_tokens: maxOutputTokens,
1556
1556
  temperature,
1557
1557
  top_p: topP,
1558
1558
  seed,
@@ -2002,7 +2002,7 @@ var xaiTools = {
2002
2002
  };
2003
2003
 
2004
2004
  // src/version.ts
2005
- var VERSION = true ? "3.0.0-beta.58" : "0.0.0-test";
2005
+ var VERSION = true ? "3.0.0-beta.60" : "0.0.0-test";
2006
2006
 
2007
2007
  // src/xai-provider.ts
2008
2008
  var xaiErrorStructure = {