fffiloni commited on
Commit
bf0b3e5
·
verified ·
1 Parent(s): 1a82456

Upload 4 files

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +3 -1
README.md CHANGED
@@ -133,4 +133,4 @@ See `CHANGELOG_V194.md` for the Model Pre-scan Decision Card UI pass.
133
  See `CHANGELOG_V195.md` for the Runtime CSS Cleanup with Legacy Safety Net pass.
134
 
135
 
136
- Current release: Agentic Space Factory v198.26.6.
 
133
  See `CHANGELOG_V195.md` for the Runtime CSS Cleanup with Legacy Safety Net pass.
134
 
135
 
136
+ Current release: Agentic Space Factory v198.26.7.
app.py CHANGED
@@ -980,7 +980,7 @@ def register_custom_routes(fastapi_app: FastAPI) -> None:
980
  run_id = validate_run_id(run_id)
981
  bucket_source = user_bucket_source(username=ctx["username"], bucket_name=bucket_name)
982
  snapshot = _build_live_run_snapshot(run_id, bucket_source=bucket_source, token=ctx["token"], include_heavy=False)
983
- return JSONResponse({**snapshot["view"], "summary": snapshot["summary"], "state": snapshot["state"], "events": snapshot["events"], "events_recent": snapshot["events"][-100:], "events_count": len(snapshot["events"]), "eval_publish": snapshot["eval_publish"]})
984
 
985
  @fastapi_app.post("/api/runs/{run_id}/cancel")
986
  async def api_cancel_run(request: Request, run_id: str, bucket_name: str = settings.bucket_name): # type: ignore[no-untyped-def]
@@ -1191,6 +1191,8 @@ def register_custom_routes(fastapi_app: FastAPI) -> None:
1191
  "job_logs_polled": bool(include_job_logs),
1192
  "inference_gate": bundle.get("inference_gate") or {},
1193
  "generation_smoke": bundle.get("generation_smoke") or {},
 
 
1194
  "api_schema": bundle.get("api_schema") or {},
1195
  "validation_payload": bundle.get("validation_payload") or {},
1196
  "validation_failure_diagnosis": bundle.get("validation_failure_diagnosis") or {},
 
980
  run_id = validate_run_id(run_id)
981
  bucket_source = user_bucket_source(username=ctx["username"], bucket_name=bucket_name)
982
  snapshot = _build_live_run_snapshot(run_id, bucket_source=bucket_source, token=ctx["token"], include_heavy=False)
983
+ return JSONResponse({**snapshot["view"], "summary": snapshot["summary"], "state": snapshot["state"], "events": snapshot["events"], "events_recent": snapshot["events"][-100:], "events_count": len(snapshot["events"]), "eval_publish": snapshot["eval_publish"], "final_status_reconciliation": snapshot["bundle"].get("final_status_reconciliation") or {}, "eval_record": snapshot["bundle"].get("eval_record") or {}})
984
 
985
  @fastapi_app.post("/api/runs/{run_id}/cancel")
986
  async def api_cancel_run(request: Request, run_id: str, bucket_name: str = settings.bucket_name): # type: ignore[no-untyped-def]
 
1191
  "job_logs_polled": bool(include_job_logs),
1192
  "inference_gate": bundle.get("inference_gate") or {},
1193
  "generation_smoke": bundle.get("generation_smoke") or {},
1194
+ "final_status_reconciliation": bundle.get("final_status_reconciliation") or {},
1195
+ "eval_record": bundle.get("eval_record") or {},
1196
  "api_schema": bundle.get("api_schema") or {},
1197
  "validation_payload": bundle.get("validation_payload") or {},
1198
  "validation_failure_diagnosis": bundle.get("validation_failure_diagnosis") or {},