feat: 建立整改 Task 1 多端质量基线
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认 | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user