From 200a404927eee2af4c70ab0b356465011626d427 Mon Sep 17 00:00:00 2001 From: jie65535 Date: Sun, 26 Apr 2026 11:15:38 +0800 Subject: [PATCH] Update README for v1.11.0 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 07251d8..6f1de21 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ AI 可以自动调用多种工具来完成复杂任务: - 推理思考(需要配置推理模型) - 群管理(禁言等,需启用相应权限) - 记忆管理(添加和修改对话记忆) +- 聊天历史搜索(按关键词、发送者、时间范围检索群聊消息,需启用历史消息上下文) ## 权限列表 @@ -82,6 +83,12 @@ visualModelApi: 'https://dashscope.aliyuncs.com/compatible-mode/v1/' visualModelToken: '' # 视觉模型 visualModel: 'qwen-vl-plus' +# 聊天模型额外请求体JSON,会合并到请求体中。例如DeepSeek关闭思维: {"thinking": {"type": "disabled"}} +chatModelExtraBody: '' +# 推理模型额外请求体JSON,会合并到请求体中。例如DeepSeek启用思维: {"thinking": {"type": "enabled"}} +reasoningModelExtraBody: '' +# 视觉模型额外请求体JSON,会合并到请求体中。 +visualModelExtraBody: '' # 百炼平台API KEY dashScopeApiKey: '' # 百炼平台图片编辑模型 @@ -128,6 +135,10 @@ memoryEnabled: true enableFavorabilitySystem: true # 好感度每日基础偏移速度(点/天) favorabilityBaseShiftSpeed: 2.0 +# 聊天记录搜索最大天数 +searchHistoryMaxDays: 7 +# 聊天记录搜索最大查询条数,防止内存溢出 +searchHistoryMaxRecords: 500 ``` ## 系统提示词 @@ -269,6 +280,7 @@ JChatGPT 默认配置为使用阿里云百炼平台的通义千问系列模型 8. **SendVoiceMessage** - 发送语音消息 9. **ImageEdit** - 图像编辑 10. **WeatherService** - 天气查询 +11. **SearchChatHistory** - 按关键词、发送者、时间范围搜索群聊消息历史(依赖 mirai-hibernate-plugin) ## 好感度系统