mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-25 03:20:41 +00:00
chore:fmt
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""RAG STORAGE MANAGER manager."""
|
||||
|
||||
import threading
|
||||
from typing import List, Optional, Type
|
||||
|
||||
@@ -102,7 +103,10 @@ class StorageManager(BaseComponent):
|
||||
if storage_config.graph:
|
||||
graph_config = storage_config.graph
|
||||
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 (
|
||||
CommunitySummaryKnowledgeGraph,
|
||||
)
|
||||
|
Reference in New Issue
Block a user