新增 recall_memory 回忆工具:按 token 搜索长期记忆

This commit is contained in:
2026-08-14 19:54:32 +08:00
parent 3c320986e0
commit b25dfb9d55
11 changed files with 349 additions and 173 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func main() {
}
fmt.Printf("💾 数据库已连接 (%s)\n", cfg.Database.Driver)
b, err := bot.New(cfg)
b, err := bot.New(cfg, db)
if err != nil {
fmt.Printf("⚠️ %v\n", err)
fmt.Println("请填写工具配置文件后重新启动。")