fix:修改参数优化

pull/1258/head
SengokuCola 2025-09-23 19:42:45 +08:00
parent f075f28f02
commit 22ddaa5b72
4 changed files with 4 additions and 14 deletions

View File

@ -207,7 +207,7 @@ class HeartFChatting:
await self._observe(recent_messages_list=recent_messages_list)
else:
# 没有提到继续保持沉默等待5秒防止频繁触发
await asyncio.sleep(5)
await asyncio.sleep(10)
return True
else:
await asyncio.sleep(0.2)

View File

@ -451,8 +451,8 @@ class ActionPlanner:
# 调用LLM
llm_content, (reasoning_content, _, _) = await self.planner_llm.generate_response_async(prompt=prompt)
logger.info(f"{self.log_prefix}规划器原始提示词: {prompt}")
logger.info(f"{self.log_prefix}规划器原始响应: {llm_content}")
# logger.info(f"{self.log_prefix}规划器原始提示词: {prompt}")
# logger.info(f"{self.log_prefix}规划器原始响应: {llm_content}")
if global_config.debug.show_prompt:
logger.info(f"{self.log_prefix}规划器原始提示词: {prompt}")

View File

@ -28,16 +28,6 @@ class EmojiAction(BaseAction):
action_name = "emoji"
action_description = "发送表情包辅助表达情绪"
# LLM判断提示词
llm_judge_prompt = """
判定是否需要使用表情动作的条件
1. 用户明确要求使用表情包
2. 这是一个适合表达强烈情绪的场合
3. 不要发送太多表情包如果你已经发送过多个表情包则回答""
请回答""""
"""
# 动作参数定义
action_parameters = {}

View File

@ -1,5 +1,5 @@
[inner]
version = "1.7.0"
version = "1.7.2"
# 配置文件版本号迭代规则同bot_config.toml