a2a-source-edit: write agent.py
This commit is contained in:
2
agent.py
2
agent.py
@@ -877,7 +877,7 @@ class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]):
|
||||
await workspace_write_json(ctx, f"outputs/incidents/{incident_id}/execution.json", result)
|
||||
return result.model_dump(mode="json")
|
||||
|
||||
@a2a.tool(description="Verify recovery using user-visible checks and metrics. Never marks recovered unless required checks pass.", timeout_seconds=900, cost_class="incident-verification", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",))
|
||||
@a2a.tool(description="Verify recovery using user-visible checks and metrics. Never marks recovered unless required checks pass.", input_schema=VERIFY_INPUT_SCHEMA, timeout_seconds=900, cost_class="incident-verification", grant_mode="read_write_overlay", grant_write_prefixes=("outputs/incidents/",), grant_allow_patterns=("outputs/incidents/**",))
|
||||
async def verify_recovery(
|
||||
self,
|
||||
ctx: RunContext[NoAuth],
|
||||
|
||||
Reference in New Issue
Block a user