@ai-sdk/xai 2.0.39 → 2.0.41

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
@@ -387,7 +387,7 @@ var XaiChatLanguageModel = class {
387
387
  // model id
388
388
  model: this.modelId,
389
389
  // standard generation settings
390
- max_tokens: maxOutputTokens,
390
+ max_completion_tokens: maxOutputTokens,
391
391
  temperature,
392
392
  top_p: topP,
393
393
  seed,
@@ -1528,7 +1528,7 @@ var XaiResponsesLanguageModel = class {
1528
1528
  const baseArgs = {
1529
1529
  model: this.modelId,
1530
1530
  input,
1531
- max_tokens: maxOutputTokens,
1531
+ max_output_tokens: maxOutputTokens,
1532
1532
  temperature,
1533
1533
  top_p: topP,
1534
1534
  seed,
@@ -1993,7 +1993,7 @@ var xaiTools = {
1993
1993
  };
1994
1994
 
1995
1995
  // src/version.ts
1996
- var VERSION = true ? "2.0.39" : "0.0.0-test";
1996
+ var VERSION = true ? "2.0.41" : "0.0.0-test";
1997
1997
 
1998
1998
  // src/xai-provider.ts
1999
1999
  var xaiErrorStructure = {