mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-10 20:52:33 +00:00
fix(dashboard):chat_history add model_name
This commit is contained in:
parent
cb52486e32
commit
eb9068730b
@ -29,7 +29,7 @@ class ChatDashboard(BaseChat):
|
||||
if not self.db_name:
|
||||
raise ValueError(f"{ChatScene.ChatDashboard.value} mode should choose db!")
|
||||
self.db_name = self.db_name
|
||||
self.report_name = chat_param["report_name"] or "report"
|
||||
self.report_name = chat_param.get("report_name", "report")
|
||||
|
||||
self.database = CFG.LOCAL_DB_MANAGE.get_connect(self.db_name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user