a2a-source-edit: write agent.py
This commit is contained in:
2
agent.py
2
agent.py
@@ -598,7 +598,7 @@ class CustomerIntegrationEngineer(A2AAgent[CustomerIntegrationEngineerConfig, No
|
|||||||
return RunAcceptanceResult(
|
return RunAcceptanceResult(
|
||||||
status="blocked" if any(s.status == "blocked" for s in step_results) else "failed" if failed else "ok",
|
status="blocked" if any(s.status == "blocked" for s in step_results) else "failed" if failed else "ok",
|
||||||
integration_id=request.integration_id,
|
integration_id=request.integration_id,
|
||||||
dry_run=request.dry_run,
|
dry_run=dry_run,
|
||||||
audit=audit,
|
audit=audit,
|
||||||
warnings=sorted(set(warnings)),
|
warnings=sorted(set(warnings)),
|
||||||
residual_risks=["No production deployment, merge, or environment mutation is performed by this agent."],
|
residual_risks=["No production deployment, merge, or environment mutation is performed by this agent."],
|
||||||
|
|||||||
Reference in New Issue
Block a user