Tighten agent validation gates

This commit is contained in:
2026-06-30 23:24:31 +08:00
parent 53b81dd04d
commit 5055084788
9 changed files with 87 additions and 20 deletions

View File

@@ -290,5 +290,17 @@ def api_agent_evaluate() -> dict:
@app.get("/api/agents/validate")
def api_agent_validate(run_build: bool = False, run_acceptance: bool = False, run_deep: bool = False, run_real: bool = False) -> dict:
return validate_project(run_build=run_build, run_acceptance=run_acceptance, run_deep=run_deep, run_real=run_real)
def api_agent_validate(
run_build: bool = False,
run_acceptance: bool = False,
run_deep: bool = False,
run_real: bool = False,
run_live: bool | None = None,
) -> dict:
return validate_project(
run_build=run_build,
run_acceptance=run_acceptance,
run_deep=run_deep,
run_real=run_real,
run_live=run_live,
)