feat: optimize AI suggestion and workorder sync - support same-day multiple update numbering - insert new suggestions at top maintaining reverse chronological order - reference process history when generating suggestions - simplify prompts to avoid forcing log analysis - fix Chinese comment encoding issues

This commit is contained in:
赵杰 Jie Zhao (雄狮汽车科技)
2025-10-27 10:33:34 +08:00
parent 18d59b71cb
commit a4261ef06f
104 changed files with 14678 additions and 1675 deletions

107
.gitignore vendored
View File

@@ -1,107 +0,0 @@
# Python缓存文件
__pycache__/
*.py[cod]
*$py.class
*.so
# 分发/打包
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
*.manifest
*.spec
# 单元测试/覆盖率报告
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# 环境变量
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# IDE文件
.vscode/
.idea/
*.swp
*.swo
*~
# 操作系统文件
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# 日志文件
*.log
logs/
# 数据库文件(开发环境)
*.db
*.sqlite
*.sqlite3
# 备份文件
backups/
*.backup
*.bak
# 临时文件
*.tmp
*.temp
temp/
tmp/
# 部署相关
deploy_config.json
dev_deploy/
# 测试文件
test_*.py
*_test.py
test_sample.txt
# 文档草稿
note/
*问题修复*.md
*修复总结*.md
*使用指南*.md
# Excel文件除了模板
*.xlsx
!uploads/workorder_template.xlsx
# 配置文件(敏感信息)
config/local_config.py
.env.local