Skip to content

Commit 641f277

Browse files
committed
pref: remove redundant init_messages usage in llm.py
fix #149
1 parent 99329f4 commit 641f277

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/apps/chat/task/llm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ def __init__(self, current_user: CurrentUser, chat_question: ChatQuestion,
148148
else:
149149
self.chat_question.error_msg = ''
150150

151-
self.init_messages()
152-
153151
@classmethod
154152
async def create(cls, *args, **kwargs):
155153
config: LLMConfig = await get_default_config()

0 commit comments

Comments
 (0)