feat(user_profile_tool): 更新好感分数描述,增加评分注意事项以提升用户理解

This commit is contained in:
Windpicker-owo
2025-11-12 13:38:03 +08:00
parent e12114c797
commit c9ee50aed8
4 changed files with 8 additions and 4 deletions

View File

@@ -243,8 +243,11 @@ class StreamLoopManager:
logger.debug(f"更新流能量失败 {stream_id}: {e}")
# 4. 激活chatter处理
success = await asyncio.wait_for(self._process_stream_messages(stream_id, context), global_config.chat.thinking_timeout)
try:
success = await asyncio.wait_for(self._process_stream_messages(stream_id, context), global_config.chat.thinking_timeout)
except asyncio.TimeoutError:
logger.warning(f"⏱️ [流工作器] stream={stream_id[:8]}, 任务ID={task_id}, 处理超时")
success = False
# 更新统计
self.stats["total_process_cycles"] += 1
if success: