Files
life-echo/.gitignore
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

60 lines
762 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
venv/
ENV/
.venv
# 环境变量
.env
.env.local
# 注意:.env.production 应该被提交(私密仓库)
# 明确排除 .env.production确保它可以被提交
!.env.production
# 证书与私钥勿提交README 可提交)
api/certs/*.pem
api/certs/*.p12
# 数据库文件
*.db
*.sqlite
*.sqlite3
# IDE
.idea/
.vscode/
*.iml
# 临时文件
*.tmp
*.log
*.swp
*.swo
*~
# 提交消息临时文件
commit_msg_*.txt
commit_plan.txt
commit_messages.txt
# 操作系统
.DS_Store
Thumbs.db
# 构建文件
build/
dist/
*.egg-info/
# 本地 ASR 模型缓存Whisper 每次启动从该目录加载)
api/models/certs/
# 脚本输出(预览 JSON/Markdown
api/scripts/output/
certs/