yangshilin
|
48b70e1350
|
Merge branch 'refactor/backend-architecture' into development
|
2026-03-18 17:18:23 +08:00 |
|
Sully
|
9636c059d0
|
更新docker构建cd (#10)
* update github actions
* update github actions
* update github actions
* update github actions
* update github actions
* update github actions
* update github actions
---------
Co-authored-by: Kevin <kevin@brighteng.org>
|
2026-03-13 23:41:56 +08:00 |
|
Sully
|
2eb066dbec
|
把“章节正文 + 图片”从 chapters 单表/JSON 结构,重构为“章节 chapter + 段落 section + 图片 memoir_images 独立表”的新数据模型,同时联动修改接口、PDF 导出、异步任务、迁移脚本、测试,以及修复 Android 端聊天列表显示问题。 (#9)
* refactor: 表结构重构,新增段落section和图片image新表
* fix: fix android app import error
* refactor: 重构文件名
* fix: 优化提示词
* fix: 消息气泡显示位置异常问题
---------
Co-authored-by: yangshilin <2157598560@qq.com>
|
2026-03-13 11:12:10 +08:00 |
|
yangshilin
|
4ae68394c5
|
feat: 新增图片占位符提示词固定模板 入库时拼接
|
2026-03-11 09:48:06 +08:00 |
|
penghanyuan
|
99a1660d03
|
feat: 更新对话内容处理逻辑及新增用户回忆整理脚本
- 修改 get_narrative_prompt 函数,优化对话内容的叙述生成逻辑,确保新内容与已有内容自然衔接。
- 在 api/scripts 中新增 reprocess_user_memoir.py 脚本,用于整理用户历史对话为回忆录章节,支持远程预览和确认写入。
- 更新 .gitignore,添加对 certs/ 和 scripts/output/ 目录的忽略规则,确保不必要的文件不被跟踪。
- 在 memoir_tasks.py 中添加章节锁机制,防止并发写入同一章节,提升数据一致性和安全性。
|
2026-02-21 09:33:31 +01:00 |
|