a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-13 02:50:24 +00:00
parent 66a1bbaf5b
commit d7ffedcea0

View File

@@ -728,7 +728,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]):
allowed_actions: Annotated[list[str], Field(default_factory=list)] = [],
forbidden_actions: Annotated[list[str], Field(default_factory=list)] = [],
rollback_requirements: Annotated[list[str], Field(default_factory=list)] = [],
) -> RemediationPlan:
) -> dict[str, Any]:
await emit_phase(ctx, "remediation_plan")
diagnosis_text = ""
if diagnosis_path: