feat(ts-sdk): add xAI (Grok) LLM provider to OSS SDK (#6115)
This commit is contained in:
@@ -102,6 +102,11 @@ jest.mock("../src/llms/deepseek", () => ({
|
||||
.fn()
|
||||
.mockImplementation((config) => ({ type: "deepseek-llm", config })),
|
||||
}));
|
||||
jest.mock("../src/llms/xai", () => ({
|
||||
XAILLM: jest
|
||||
.fn()
|
||||
.mockImplementation((config) => ({ type: "xai-llm", config })),
|
||||
}));
|
||||
jest.mock("../src/llms/litellm", () => ({
|
||||
LiteLLM: jest
|
||||
.fn()
|
||||
@@ -258,6 +263,7 @@ describe("LLMFactory", () => {
|
||||
["langchain"],
|
||||
["lmstudio"],
|
||||
["deepseek"],
|
||||
["xai"],
|
||||
["litellm"],
|
||||
["minimax"],
|
||||
["vllm"],
|
||||
|
||||
Reference in New Issue
Block a user