mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
bugfix(ChatData): ChatData
1.empty table show bug fix;
This commit is contained in:
parent
365eb0f9ed
commit
753e2fd235
@ -154,7 +154,7 @@ class ConnectManager:
|
||||
db_type = DBType.of_db_type(db_info.db_type)
|
||||
connect_instance = self.get_cls_by_dbtype(db_type.value())
|
||||
if db_type.is_file_db():
|
||||
db_path = db_info.db_path
|
||||
db_path = db_info.file_path
|
||||
return connect_instance.from_file_path(db_path)
|
||||
else:
|
||||
db_name = db_info.db_name
|
||||
|
Loading…
Reference in New Issue
Block a user