Skip to content

Commit 5ab882e

Browse files
committed
feat: improve generate sql template
1 parent 55fb063 commit 5ab882e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/apps/chat/task/llm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,7 @@ def run_task(self, in_chat: bool = True, stream: bool = True,
923923
self.chat_question.custom_prompt = find_custom_prompts(_session,
924924
CustomPromptTypeEnum.GENERATE_SQL,
925925
oid, ds_id)
926-
927-
self.init_messages()
926+
self.init_messages()
928927

929928
# return id
930929
if in_chat:

0 commit comments

Comments
 (0)