Merge branch 'feature/tool-history' of https://github.com/Windpicker-owo/MaiBot into feature/tool-history

pull/1186/head
Windpicker-owo 2025-08-18 12:25:47 +08:00
commit e51a72c294
1 changed files with 2 additions and 2 deletions

View File

@ -293,8 +293,8 @@ class ToolHistoryConfig(ConfigBase):
enable_prompt_history: bool = True enable_prompt_history: bool = True
"""是否在提示词中加入工具历史记录""" """是否在提示词中加入工具历史记录"""
max_history: int = 100 max_history: int = 5
"""历史记录最大保存数量""" """注入到提示词中的最大工具历史记录数量"""
data_dir: str = "data/tool_history" data_dir: str = "data/tool_history"
"""历史记录保存目录""" """历史记录保存目录"""