ec482bda51
- 删除 app/park/vendor/s2s-cloud(201 文件)与 s2s_bridge.py - 清理 app.py/config.py/routers.py/rag.py/tools.py 中 s2s 相关代码与配置 - park_config 智能体提示词配置改名 PARK_AGENT_INSTRUCTIONS(原 S2S_INSTRUCTIONS,仍被园区 AI 问答使用) - pyproject 移除 torch/transformers/scipy/soundfile/nltk/openai(均仅 s2s 使用,Linux 下 torch CUDA 依赖曾致镜像构建下载 4-6GB、耗时 300s+) - 重新生成 uv.lock(移除 torch 等 40+ 传递依赖) - 修复 app/api/schemas/admin.py 缺失 Database import(3.14 延迟注解掩盖的既有 bug,3.12 下启动必崩) - .python-version 同步为 3.12(与镜像一致)
41 lines
751 B
Plaintext
41 lines
751 B
Plaintext
# Python / 虚拟环境
|
|
.venv
|
|
__pycache__
|
|
*.pyc
|
|
*.pyo
|
|
.pytest_cache
|
|
|
|
# Git / 本地配置(勿入镜像)
|
|
.git
|
|
.gitignore
|
|
.env
|
|
.env.*
|
|
*.local
|
|
.DS_Store
|
|
|
|
# 本地 Python 版本锁定与镜像构建解释器解耦(镜像内用自带 3.12)
|
|
.python-version
|
|
|
|
# 测试(构建镜像不需要)
|
|
tests
|
|
|
|
# 微信支付商户证书(敏感,勿入镜像)
|
|
wechatpayv3
|
|
|
|
# 运行时数据:只保留 seed/、prompts/ 模板,其余运行期数据由卷挂载提供
|
|
serverdata/data
|
|
serverdata/logs
|
|
serverdata/files
|
|
serverdata/keys
|
|
serverdata/uploads
|
|
serverdata/park
|
|
serverdata/backup
|
|
serverdata/*.db
|
|
serverdata/*.db-*
|
|
serverdata/compute-data
|
|
serverdata/compute-logs
|
|
serverdata/mysql-data
|
|
serverdata/redis-data
|
|
serverdata/emqx-data
|
|
serverdata/emqx-log
|