### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2025-07-24 10:14:21 +08:00
committed by GitHub
parent 3eca9d3a5f
commit 93c94fda7b

View File

@ -48,7 +48,7 @@ class Extractor:
self._entity_types = entity_types or DEFAULT_ENTITY_TYPES self._entity_types = entity_types or DEFAULT_ENTITY_TYPES
@timeout(60*3) @timeout(60*3)
def _chat(self, system, history, gen_conf): def _chat(self, system, history, gen_conf={}):
hist = deepcopy(history) hist = deepcopy(history)
conf = deepcopy(gen_conf) conf = deepcopy(gen_conf)
response = get_llm_cache(self._llm.llm_name, system, hist, conf) response = get_llm_cache(self._llm.llm_name, system, hist, conf)