@aigne/xai 0.7.62 → 0.7.63-beta

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.63-beta](https://github.com/AIGNE-io/aigne-framework/compare/xai-v0.7.62...xai-v0.7.63-beta) (2026-01-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **models:** update default model to grok-4-latest for xai model ([1c9f69a](https://github.com/AIGNE-io/aigne-framework/commit/1c9f69a04cd245e6251f1946e3ad82eb830c6074))
9
+
3
10
  ## [0.7.62](https://github.com/AIGNE-io/aigne-framework/compare/xai-v0.7.62-beta.25...xai-v0.7.62) (2026-01-16)
4
11
 
5
12
 
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.XAIChatModel = void 0;
4
4
  const openai_1 = require("@aigne/openai");
5
- const XAI_DEFAULT_CHAT_MODEL = "grok-2-latest";
5
+ const XAI_DEFAULT_CHAT_MODEL = "grok-4-latest";
6
6
  const XAI_BASE_URL = "https://api.x.ai/v1";
7
7
  /**
8
8
  * Implementation of the ChatModel interface for X.AI's API (Grok)
@@ -1,5 +1,5 @@
1
1
  import { OpenAIChatModel } from "@aigne/openai";
2
- const XAI_DEFAULT_CHAT_MODEL = "grok-2-latest";
2
+ const XAI_DEFAULT_CHAT_MODEL = "grok-4-latest";
3
3
  const XAI_BASE_URL = "https://api.x.ai/v1";
4
4
  /**
5
5
  * Implementation of the ChatModel interface for X.AI's API (Grok)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/xai",
3
- "version": "0.7.62",
3
+ "version": "0.7.63-beta",
4
4
  "description": "AIGNE XAI SDK for integrating with XAI language models and API services",
5
5
  "publishConfig": {
6
6
  "access": "public"