From 77b4b6a2b94b950aeb203a0e3ddea662dec6b3c8 Mon Sep 17 00:00:00 2001 From: Ranjith kumar Date: Fri, 5 Sep 2025 22:38:04 +0530 Subject: [PATCH] fix: :bug: replace hardcoded llm provider with provider from config (#3423) --- mem0-ts/src/oss/src/memory/graph_memory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem0-ts/src/oss/src/memory/graph_memory.ts b/mem0-ts/src/oss/src/memory/graph_memory.ts index d0f92887a..afd2e8d19 100644 --- a/mem0-ts/src/oss/src/memory/graph_memory.ts +++ b/mem0-ts/src/oss/src/memory/graph_memory.ts @@ -89,7 +89,7 @@ export class MemoryGraph { this.llm = LLMFactory.create(this.llmProvider, this.config.llm.config); this.structuredLlm = LLMFactory.create( - "openai_structured", + this.llmProvider, this.config.llm.config, ); this.threshold = 0.7;