Fix: refer to 61~62, self.config.graph_store.lm.config should be prioritized for usage (#3043)

This commit is contained in:
Bruce Wang
2025-08-13 03:56:24 +08:00
committed by GitHub
parent 9e9dcd70e1
commit b199186163
+1 -1
View File
@@ -63,7 +63,7 @@ class MemoryGraph:
if self.config.graph_store.llm:
self.llm_provider = self.config.graph_store.llm.provider
self.llm = LlmFactory.create(self.llm_provider, self.config.llm.config)
self.llm = LlmFactory.create(self.llm_provider, self.config.graph_store.llm.config if self.config.graph_store.llm.config else self.config.llm.config)
self.user_id = None
self.threshold = 0.7