a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-13 11:09:54 +00:00
parent 38d8354265
commit e8f61b9dd8

View File

@@ -193,7 +193,7 @@ class IntegrationClient:
return StepExecutionRecord(step_id=step.id, status="denied", action_type=step.action_type, target=step.target, before_evidence=before, warnings=["live execution requires explicit provider setup and exact plan parameters"]) return StepExecutionRecord(step_id=step.id, status="denied", action_type=step.action_type, target=step.target, before_evidence=before, warnings=["live execution requires explicit provider setup and exact plan parameters"])
class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]): class ProductionIncidentCommander(A2AAgent[CommanderConfig, NoAuth]):
name = "production-incident-commander"; description = "Private safety-first commander for production incident diagnosis, remediation planning, approval-gated execution, recovery verification, and postmortems."; version = "0.1.1" name = "production-incident-commander"; description = "Private safety-first commander for production incident diagnosis, remediation planning, approval-gated execution, recovery verification, and postmortems."; version = "0.1.2"
config_model = CommanderConfig; auth_model = NoAuth config_model = CommanderConfig; auth_model = NoAuth
pricing = Pricing(price_per_call_usd=0.0, caller_pays_llm=False, notes="Deterministic local policy and bounded caller-configured integrations; no LLM credential required.") pricing = Pricing(price_per_call_usd=0.0, caller_pays_llm=False, notes="Deterministic local policy and bounded caller-configured integrations; no LLM credential required.")
resources = Resources(cpu="1", memory="1Gi", max_runtime_seconds=900) resources = Resources(cpu="1", memory="1Gi", max_runtime_seconds=900)