fix: 对话历史上限增至100条 + filterActions 兼容 <app> 动作标签
- 会话历史存储上限从 50 条增至 100 条 - filterActions 同时处理 <action> 和 <app> 标签(DeepSeek 偶用 <app> 替代 <action>) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -133,7 +133,7 @@ func main() {
|
||||
}
|
||||
|
||||
// 初始化会话历史存储
|
||||
convStore := ctxbuild.NewConversationStore(50)
|
||||
convStore := ctxbuild.NewConversationStore(100)
|
||||
|
||||
// 从数据库恢复主会话历史(避免重启丢失上下文)
|
||||
adminUserID := "admin"
|
||||
|
||||
Reference in New Issue
Block a user