chore:fmt

This commit is contained in:
aries_ckt
2025-07-04 23:02:40 +08:00
parent 51c81f97f3
commit df9185ace4

View File

@@ -1,4 +1,5 @@
"""RAG STORAGE MANAGER manager.""" """RAG STORAGE MANAGER manager."""
import threading import threading
from typing import List, Optional, Type from typing import List, Optional, Type
@@ -102,7 +103,10 @@ class StorageManager(BaseComponent):
if storage_config.graph: if storage_config.graph:
graph_config = storage_config.graph graph_config = storage_config.graph
graph_config.llm_model = llm_model graph_config.llm_model = llm_model
if hasattr(graph_config, "enable_summary") and graph_config.enable_summary: if (
hasattr(graph_config, "enable_summary")
and graph_config.enable_summary
):
from dbgpt_ext.storage.knowledge_graph.community_summary import ( from dbgpt_ext.storage.knowledge_graph.community_summary import (
CommunitySummaryKnowledgeGraph, CommunitySummaryKnowledgeGraph,
) )