
xuhdandClaude Sonnet 4.6
d56230e04d
feat: 记忆配置改为数据库存储,用户只可配置召回模式
- 新增 persistence/memory_config/ 模块:UserMemoryConfigRow ORM 模型 +
SqlUserMemoryConfigRepository + MemoryUserMemoryConfigStore(内存兼容)
- 新增 Alembic 迁移脚本 20260521_01 创建 user_memory_configs 表
- memory_config.py:USER_WRITABLE_FIELDS 从 3 个缩减为 1 个
(hindsight.recall_budget),移除文件 IO,改为进程内 cache + async DB 对接函数
- Gateway lifespan 启动时批量预热 recall_budget cache
- memory router PATCH/DELETE 改用 DB 存储,支持 400 校验非法 budget 值
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 17:34:25 +08:00
..
2026-05-17 13:08:45 +08:00
2026-05-21 11:43:59 +08:00
2026-05-19 00:59:15 +08:00
2026-05-20 12:51:04 +08:00
2026-05-15 16:54:10 +08:00
2026-05-13 14:36:44 +08:00
2026-05-15 11:21:48 +08:00
2026-05-13 14:36:44 +08:00
2026-05-13 14:36:44 +08:00
2026-05-14 19:12:14 +08:00
2026-05-14 19:12:14 +08:00
2026-05-21 17:34:25 +08:00
2026-05-15 23:27:34 +08:00
2026-05-14 16:24:42 +08:00
2026-05-20 17:04:58 +08:00
2026-05-14 11:07:28 +08:00
2026-05-13 14:36:44 +08:00
2026-05-20 17:04:58 +08:00
2026-05-19 00:59:15 +08:00
2026-05-13 14:36:44 +08:00
2026-05-14 19:12:14 +08:00
2026-05-15 16:19:08 +08:00
2026-05-13 14:36:44 +08:00
2026-05-19 00:59:15 +08:00
2026-05-13 14:36:44 +08:00
2026-05-19 00:59:15 +08:00
2026-05-13 14:36:44 +08:00
2026-05-17 20:18:11 +08:00