mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-02 17:45:31 +00:00
feat: (0.6)New UI (#1855)
Co-authored-by: 夏姜 <wenfengjiang.jwf@digital-engine.com> Co-authored-by: aries_ckt <916701291@qq.com> Co-authored-by: wb-lh513319 <wb-lh513319@alibaba-inc.com> Co-authored-by: csunny <cfqsunny@163.com>
This commit is contained in:
@@ -66,7 +66,7 @@ class ChartAction(Action[SqlInput]):
|
||||
logger.exception(f"{str(e)}! \n {ai_message}")
|
||||
return ActionOutput(
|
||||
is_exe_success=False,
|
||||
content="The requested correctly structured answer could not be found.",
|
||||
content="Error:The answer is not output in the required format.",
|
||||
)
|
||||
try:
|
||||
if not self.resource_need:
|
||||
@@ -96,5 +96,5 @@ class ChartAction(Action[SqlInput]):
|
||||
logger.exception("Check your answers, the sql run failed!")
|
||||
return ActionOutput(
|
||||
is_exe_success=False,
|
||||
content=f"Check your answers, the sql run failed!Reason:{str(e)}",
|
||||
content=f"Error:Check your answers, the sql run failed!Reason:{str(e)}",
|
||||
)
|
||||
|
Reference in New Issue
Block a user