feat(ts-sdk): add Sarvam LLM provider to OSS SDK (#6130)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
Saumya Kathuria
2026-07-08 19:03:38 +05:30
committed by GitHub
co-authored by Claude Opus 4.8 kartik-mem0
parent 846f25bd39
commit f89edb45dc
5 changed files with 243 additions and 1 deletions
@@ -107,6 +107,11 @@ jest.mock("../src/llms/xai", () => ({
.fn()
.mockImplementation((config) => ({ type: "xai-llm", config })),
}));
jest.mock("../src/llms/sarvam", () => ({
SarvamLLM: jest
.fn()
.mockImplementation((config) => ({ type: "sarvam-llm", config })),
}));
jest.mock("../src/llms/litellm", () => ({
LiteLLM: jest
.fn()
@@ -269,6 +274,7 @@ describe("LLMFactory", () => {
["lmstudio"],
["deepseek"],
["xai"],
["sarvam"],
["litellm"],
["minimax"],
["together"],