From 232348fe7a8476134b31be64f57c502c01f4e197 Mon Sep 17 00:00:00 2001 From: sky2002 Date: Fri, 7 Mar 2025 13:37:44 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8generate=5Fresponse=5Fasync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/chat/llm_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/chat/llm_generator.py b/src/plugins/chat/llm_generator.py index a19a222c2..04016f34b 100644 --- a/src/plugins/chat/llm_generator.py +++ b/src/plugins/chat/llm_generator.py @@ -194,6 +194,6 @@ class InitiativeMessageGenerate: prompt = prompt_builder._build_initiative_prompt( select_dot, prompt_template, memory ) - content, reasoning = self.model_r1.generate_response(prompt) + content, reasoning = self.model_r1.generate_response_async(prompt) print(f"[DEBUG] {content} {reasoning}") return content