From 5ab882e84d7319c2ff07b0c7d07730faea010b9d Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 16 Oct 2025 09:58:56 +0800 Subject: [PATCH] feat: improve generate sql template --- backend/apps/chat/task/llm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/apps/chat/task/llm.py b/backend/apps/chat/task/llm.py index 049a0334..dbb9e5b7 100644 --- a/backend/apps/chat/task/llm.py +++ b/backend/apps/chat/task/llm.py @@ -923,8 +923,7 @@ class LLMService: self.chat_question.custom_prompt = find_custom_prompts(_session, CustomPromptTypeEnum.GENERATE_SQL, oid, ds_id) - - self.init_messages() + self.init_messages() # return id if in_chat: