feat: 建立整改 Task 1 多端质量基线

This commit is contained in:
weijuesen
2026-08-13 22:18:35 +08:00
parent 1b8cab19df
commit ff94ff28fe
27 changed files with 3470 additions and 315 deletions
+8
View File
@@ -17,6 +17,14 @@ python -m venv .venv
MODEL_MODE=mock .venv/Scripts/python -m uvicorn app.main:app --host 0.0.0.0 --port 8000
```
## 质量检查
仓库根目录的 `scripts/verify.ps1` 会使用 `ai-service/.venv/Scripts/python.exe` 运行 pytest;如果该虚拟环境不存在,会回退到 `python`
```powershell
powershell -ExecutionPolicy Bypass -File scripts/verify.ps1
```
## 环境变量
| 变量 | 默认 | 说明 |