a2a-source-edit: write agent.py
This commit is contained in:
2
agent.py
2
agent.py
@@ -804,7 +804,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]):
|
||||
healthcheck_urls: Annotated[list[HttpUrl], Field(default_factory=list)] = [],
|
||||
prometheus_queries: Annotated[list[str], Field(default_factory=list)] = [],
|
||||
observation_seconds: Annotated[int, Field(ge=0, le=900)] = 60,
|
||||
) -> RecoveryVerification:
|
||||
) -> dict[str, Any]:
|
||||
await emit_phase(ctx, "verify", status="started")
|
||||
if verification_plan_path:
|
||||
_ = await workspace_read_text(ctx, validate_incident_path(verification_plan_path, incident_id, must_exist_under_incident=True))
|
||||
|
||||
Reference in New Issue
Block a user