From 93c94fda7bbc58d1743dd5ab6c3b29033ea9588b Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Thu, 24 Jul 2025 10:14:21 +0800 Subject: [PATCH] Trival. (#9015) ### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- graphrag/general/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphrag/general/extractor.py b/graphrag/general/extractor.py index 1d61be31b..a6ceb1d1c 100644 --- a/graphrag/general/extractor.py +++ b/graphrag/general/extractor.py @@ -48,7 +48,7 @@ class Extractor: self._entity_types = entity_types or DEFAULT_ENTITY_TYPES @timeout(60*3) - def _chat(self, system, history, gen_conf): + def _chat(self, system, history, gen_conf={}): hist = deepcopy(history) conf = deepcopy(gen_conf) response = get_llm_cache(self._llm.llm_name, system, hist, conf)