- Merge internal-eval into development.sh (single Celery/infra); internal-eval.sh wraps with LIFE_ECHO_WITH_INTERNAL_EVAL; EVAL_ATTACH_ONLY for attaching 8001 when :8000 is already up; document in api/docs/internal-eval.md. - Evaluation: transcript_for_judge, judge error surfacing, rubric/schema tweaks, execution_service and router updates; tests for judge and composite eval. - Memory: ingest nested transaction for embedding/enrichment rollback safety. - Conversation WS: logger.exception for pipeline errors (avoid loguru KeyError). - app-eval-web: Playground saved replays, dialogue turns helper, hash user_id for Memoir; Memoir chapter baseline↔DB row compare with title heuristics; Stories page (#memoir-stories); Markdown + copy buttons; toolbar/panel UI; react-markdown; development proxy and fixture updates.
内部评测 Web(Life Echo)
独立 Vite + React 控制台,对接 app.internal_main:internal_app。
环境变量
VITE_EVAL_API_BASE— 内部 API 根,如http://127.0.0.1:8001VITE_EVAL_API_KEY— 与后端INTERNAL_EVAL_API_KEY相同
开发
npm install
VITE_EVAL_API_BASE=http://127.0.0.1:8001 VITE_EVAL_API_KEY=your-secret npm run dev
浏览器打开提示的端口(默认 5174)。
构建
npm run build
产物在 dist/,可挂任意静态服务器。SSE 使用 ?key= 传评测密钥(见后端文档)。