feat: 添加 AI Agent 对话测试工具 + 代码优化

主要变更:

- 新增 tests/test_ai_chat.py: AI Agent 对话测试工具

- 优化 core/pydantic_ai_agent.py 和 db/chat_log_db.py

- 清理归档文件,更新文档

Made-with: Cursor
This commit is contained in:
2026-02-28 16:19:35 +08:00
parent a6c42d505a
commit c39840fe15
49 changed files with 2453 additions and 8556 deletions

36
.gitignore vendored
View File

@@ -1,36 +0,0 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
# 数据库
*.db
*.db-journal
# 日志
logs/
*.log
# 结果图片
results/
# 环境配置
.env.backup
.env.*.backup
# 备份文件
*.bak
*.backup
*.fix_backup
# IDE
.idea/
.vscode/
*.swp
*.swo
# 系统文件
.DS_Store
Thumbs.db