mirror of https://github.com/Mai-with-u/MaiBot.git
使用generate_response_async
parent
cd6ec4d26e
commit
232348fe7a
|
|
@ -194,6 +194,6 @@ class InitiativeMessageGenerate:
|
||||||
prompt = prompt_builder._build_initiative_prompt(
|
prompt = prompt_builder._build_initiative_prompt(
|
||||||
select_dot, prompt_template, memory
|
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}")
|
print(f"[DEBUG] {content} {reasoning}")
|
||||||
return content
|
return content
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue