INNER CODE UNIT · Python
delete_lab_report_agent_team
wzn1118/AsteriaAnalyst · backend/app/main.py:513
def delete_lab_report_agent_team(team_id: str) -> dict[str, object]:
_require_local_skill_installer_enabled()
from app.services.lab_report_agent_team_service import delete_lab_report_agent_team
try:
return delete_lab_report_agent_team(team_id)
except FileNotFoundError as exc:
raise HTTPException(status_code=404, detail=str(exc)) from exc
@app.post("/api/lab/report-agent-teams/run")
def run_lab_report_agent_team(payload: LabReportAgentTeamRunRequest) -> dict[str, object]:
_require_local_skill_installer_enabled()
from app.services.lab_report_agent_team_service import launch_lab_report_agent_team_run
try:
return launch_lab_report_agent_team_run(
report_id=payload.report_id,