mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-01-29 21:49:35 +00:00
style:fmt
This commit is contained in:
@@ -19,7 +19,6 @@ from pilot.utils import build_logger
|
||||
logger = build_logger("db_summary", LOGDIR + "db_summary.log")
|
||||
|
||||
|
||||
|
||||
CFG = Config()
|
||||
chat_factory = ChatFactory()
|
||||
|
||||
@@ -145,7 +144,9 @@ class DBSummaryClient:
|
||||
try:
|
||||
self.db_summary_embedding(item["db_name"], item["db_type"])
|
||||
except Exception as e:
|
||||
logger.warn(f'{item["db_name"]}, {item["db_type"]} summary error!{str(e)}', e)
|
||||
logger.warn(
|
||||
f'{item["db_name"]}, {item["db_type"]} summary error!{str(e)}', e
|
||||
)
|
||||
|
||||
def init_db_profile(self, db_summary_client, dbname, embeddings):
|
||||
profile_store_config = {
|
||||
|
||||
Reference in New Issue
Block a user