feat(ts-sdk): add MiniMax LLM provider (#5858)

Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
Barry Collins
2026-06-25 17:01:50 +05:30
committed by GitHub
co-authored by kartik-mem0
parent 1f66aadfa3
commit 818c2981b7
5 changed files with 263 additions and 2 deletions
@@ -97,6 +97,11 @@ jest.mock("../src/llms/litellm", () => ({
.fn()
.mockImplementation((config) => ({ type: "litellm-llm", config })),
}));
jest.mock("../src/llms/minimax", () => ({
MiniMaxLLM: jest
.fn()
.mockImplementation((config) => ({ type: "minimax-llm", config })),
}));
jest.mock("../src/vector_stores/qdrant", () => ({
Qdrant: jest
@@ -212,6 +217,7 @@ describe("LLMFactory", () => {
["lmstudio"],
["deepseek"],
["litellm"],
["minimax"],
])("creates LLM for provider '%s'", (provider) => {
expect(() => LLMFactory.create(provider, dummyLLMConfig)).not.toThrow();
});