From 641f2779640c1d0b08263d6984338773f821f0bd Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 18 Sep 2025 17:23:02 +0800 Subject: [PATCH] pref: remove redundant init_messages usage in llm.py fix #149 --- backend/apps/chat/task/llm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/apps/chat/task/llm.py b/backend/apps/chat/task/llm.py index 4d72481d..6979b23f 100644 --- a/backend/apps/chat/task/llm.py +++ b/backend/apps/chat/task/llm.py @@ -148,8 +148,6 @@ class LLMService: else: self.chat_question.error_msg = '' - self.init_messages() - @classmethod async def create(cls, *args, **kwargs): config: LLMConfig = await get_default_config()