@ai-sdk/xai 2.0.82 → 2.0.84

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
@@ -1735,6 +1735,9 @@ var XaiResponsesLanguageModel = class {
1735
1735
  maxOutputTokens,
1736
1736
  temperature,
1737
1737
  topP,
1738
+ topK,
1739
+ frequencyPenalty,
1740
+ presencePenalty,
1738
1741
  stopSequences,
1739
1742
  seed,
1740
1743
  responseFormat,
@@ -1749,6 +1752,21 @@ var XaiResponsesLanguageModel = class {
1749
1752
  providerOptions,
1750
1753
  schema: xaiResponsesProviderOptions
1751
1754
  })) != null ? _a : {};
1755
+ if (topK != null) {
1756
+ warnings.push({ type: "unsupported-setting", setting: "topK" });
1757
+ }
1758
+ if (frequencyPenalty != null) {
1759
+ warnings.push({
1760
+ type: "unsupported-setting",
1761
+ setting: "frequencyPenalty"
1762
+ });
1763
+ }
1764
+ if (presencePenalty != null) {
1765
+ warnings.push({
1766
+ type: "unsupported-setting",
1767
+ setting: "presencePenalty"
1768
+ });
1769
+ }
1752
1770
  if (stopSequences != null) {
1753
1771
  warnings.push({
1754
1772
  type: "unsupported-setting",
@@ -2390,7 +2408,7 @@ var xaiTools = {
2390
2408
  };
2391
2409
 
2392
2410
  // src/version.ts
2393
- var VERSION = true ? "2.0.82" : "0.0.0-test";
2411
+ var VERSION = true ? "2.0.84" : "0.0.0-test";
2394
2412
 
2395
2413
  // src/xai-provider.ts
2396
2414
  var xaiErrorStructure = {