fix: Fix SummaryExtractor not found error (#2805)

This commit is contained in:
jiao-duan 2025-07-02 21:43:42 +08:00 committed by GitHub
parent 1efcd1b887
commit 00af86d89e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ class SummaryAssembler(BaseAssembler):
model_name = model_name or os.getenv("LLM_MODEL")
if not extractor:
from ..transformer.summary import SummaryExtractor
from dbgpt.rag.extractor.summary import SummaryExtractor
if not llm_client:
raise ValueError("llm_client must be provided.")