Merge branch 'dev' into hugo
This commit is contained in:
commit
d5928b42f3
63 files changed
+5759
-1493
No files matched your search
@@ -1031,6 +1031,7 @@ def get_chat_query_preview(chat_log_id: int):
|
||||
page_size=page_size,
|
||||
agent=g.current_agent,
|
||||
total_count=total_count,
|
||||
user_context=Text2SQLService._normalize_user_context(g.current_user),
|
||||
)
|
||||
if columns == ["Error"]:
|
||||
raise AppError(code='CHAT.QUERY_PREVIEW_FAILED', message=str(rows[0][0] if rows and rows[0] else 'query preview failed'), http_status=500)
|
||||
|
||||
Reference in new issue
Block a user