Skip to content

Commit 222d411

Browse files
committed
feat:提供更多统计数据
1 parent ccf5092 commit 222d411

4 files changed

Lines changed: 404 additions & 21 deletions

File tree

src/chat/normal_chat/normal_chat.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,10 @@ async def _check_relation_building_conditions(self):
811811

812812
# 检查是否满足关系构建条件
813813
should_build_relation = (
814-
total_messages >= 50 # 50条消息必定满足
815-
or (total_messages >= 35 and time_elapsed >= 600) # 35条且10分钟
816-
or (total_messages >= 25 and time_elapsed >= 1800) # 25条且30分钟
817-
or (total_messages >= 10 and time_elapsed >= 3600) # 10条且1小时
814+
total_messages >= 40 # 40条消息必定满足
815+
or (total_messages >= 25 and time_elapsed >= 600) # 25条且10分钟
816+
or (total_messages >= 20 and time_elapsed >= 900) # 20条且30分钟
817+
or (total_messages >= 10 and time_elapsed >= 1800) # 10条且1小时
818818
)
819819

820820
if should_build_relation:

src/chat/normal_chat/normal_chat_planner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, log_prefix: str, action_manager: ActionManager):
6767
# LLM规划器配置
6868
self.planner_llm = LLMRequest(
6969
model=global_config.model.planner,
70-
request_type="normal_chat.planner", # 用于normal_chat动作规划
70+
request_type="normal.planner", # 用于normal_chat动作规划
7171
)
7272

7373
self.action_manager = action_manager

0 commit comments

Comments
 (0)