web bug fix

This commit is contained in:
yhjun1026 2023-07-24 15:42:41 +08:00
parent 6d223b9072
commit bb30035a2a
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -1,6 +1,6 @@
{
"title": "Sales Report",
"name": "sale_report",
"title": "Report",
"name": "report",
"introduce": "",
"layout": "TODO",
"supported_chart_type":[ "Table", "LineChart", "BarChart", "IndicatorValue"],