mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-01 16:18:27 +00:00
web bug fix
This commit is contained in:
parent
6d223b9072
commit
bb30035a2a
@ -236,7 +236,7 @@ async def chat_completions(dialogue: ConversationVo = Body()):
|
||||
elif ChatScene.ChatDashboard.value() == dialogue.chat_mode:
|
||||
chat_param.update({"db_name": dialogue.select_param})
|
||||
## DEFAULT
|
||||
chat_param.update({"report_name": "sales_report"})
|
||||
chat_param.update({"report_name": "report"})
|
||||
elif ChatScene.ChatExecution.value() == dialogue.chat_mode:
|
||||
chat_param.update({"plugin_selector": dialogue.select_param})
|
||||
elif ChatScene.ChatKnowledge.value() == dialogue.chat_mode:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"title": "Sales Report",
|
||||
"name": "sale_report",
|
||||
"title": "Report",
|
||||
"name": "report",
|
||||
"introduce": "",
|
||||
"layout": "TODO",
|
||||
"supported_chart_type":[ "Table", "LineChart", "BarChart", "IndicatorValue"],
|
Loading…
Reference in New Issue
Block a user