feat/ 导出开发容器内的数据用于评估

This commit is contained in:
Kevin
2026-04-03 14:44:46 +08:00
parent 828a29748e
commit b75edacb5f
51 changed files with 5999 additions and 57 deletions

25
app-eval-web/README.md Normal file
View File

@@ -0,0 +1,25 @@
# 内部评测 WebLife Echo
独立 Vite + React 控制台,对接 `app.internal_main:internal_app`
## 环境变量
- `VITE_EVAL_API_BASE` — 内部 API 根,如 `http://127.0.0.1:8001`
- `VITE_EVAL_API_KEY` — 与后端 `INTERNAL_EVAL_API_KEY` 相同
## 开发
```bash
npm install
VITE_EVAL_API_BASE=http://127.0.0.1:8001 VITE_EVAL_API_KEY=your-secret npm run dev
```
浏览器打开提示的端口(默认 5174
## 构建
```bash
npm run build
```
产物在 `dist/`可挂任意静态服务器。SSE 使用 `?key=` 传评测密钥(见后端文档)。