mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-08 11:47:44 +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:
|
elif ChatScene.ChatDashboard.value() == dialogue.chat_mode:
|
||||||
chat_param.update({"db_name": dialogue.select_param})
|
chat_param.update({"db_name": dialogue.select_param})
|
||||||
## DEFAULT
|
## DEFAULT
|
||||||
chat_param.update({"report_name": "sales_report"})
|
chat_param.update({"report_name": "report"})
|
||||||
elif ChatScene.ChatExecution.value() == dialogue.chat_mode:
|
elif ChatScene.ChatExecution.value() == dialogue.chat_mode:
|
||||||
chat_param.update({"plugin_selector": dialogue.select_param})
|
chat_param.update({"plugin_selector": dialogue.select_param})
|
||||||
elif ChatScene.ChatKnowledge.value() == dialogue.chat_mode:
|
elif ChatScene.ChatKnowledge.value() == dialogue.chat_mode:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"title": "Sales Report",
|
"title": "Report",
|
||||||
"name": "sale_report",
|
"name": "report",
|
||||||
"introduce": "",
|
"introduce": "",
|
||||||
"layout": "TODO",
|
"layout": "TODO",
|
||||||
"supported_chart_type":[ "Table", "LineChart", "BarChart", "IndicatorValue"],
|
"supported_chart_type":[ "Table", "LineChart", "BarChart", "IndicatorValue"],
|
Loading…
Reference in New Issue
Block a user