Update current_mind.py
This commit is contained in:
@@ -40,7 +40,7 @@ class SubHeartflow:
|
|||||||
await self.do_a_thinking()
|
await self.do_a_thinking()
|
||||||
print("麦麦闹情绪了")
|
print("麦麦闹情绪了")
|
||||||
await self.judge_willing()
|
await self.judge_willing()
|
||||||
await asyncio.sleep(20)
|
await asyncio.sleep(30)
|
||||||
|
|
||||||
async def do_a_thinking(self):
|
async def do_a_thinking(self):
|
||||||
print("麦麦小脑袋转起来了")
|
print("麦麦小脑袋转起来了")
|
||||||
@@ -109,7 +109,7 @@ class SubHeartflow:
|
|||||||
prompt += f"你现在的想法是{current_thinking_info}。"
|
prompt += f"你现在的想法是{current_thinking_info}。"
|
||||||
prompt += f"你现在{mood_info}。"
|
prompt += f"你现在{mood_info}。"
|
||||||
prompt += f"现在请你思考,你想不想发言或者回复,请你输出一个数字,1-10,1表示非常不想,10表示非常想。"
|
prompt += f"现在请你思考,你想不想发言或者回复,请你输出一个数字,1-10,1表示非常不想,10表示非常想。"
|
||||||
prompt += f"请你用<>包裹你的回复意愿,例如输出<1>表示不想回复,输出<10>表示非常想回复。<5>表示想回复,但是需要思考一下。"
|
prompt += f"请你用<>包裹你的回复意愿,例如输出<1>表示不想回复,输出<10>表示非常想回复。请你考虑,你完全可以不回复"
|
||||||
|
|
||||||
response, reasoning_content = await self.llm_model.generate_response_async(prompt)
|
response, reasoning_content = await self.llm_model.generate_response_async(prompt)
|
||||||
# 解析willing值
|
# 解析willing值
|
||||||
|
|||||||
Reference in New Issue
Block a user