a2a-source-edit: write agent.py
This commit is contained in:
2
agent.py
2
agent.py
@@ -607,7 +607,7 @@ class CustomerIntegrationEngineer(A2AAgent[CustomerIntegrationEngineerConfig, No
|
||||
drift_detected=drift,
|
||||
)
|
||||
|
||||
@a2a.tool(description="Run dry-run or allowlisted acceptance checks using endpoint metadata and secret references", timeout_seconds=180, idempotent=True, max_retries=0, cost_class="deterministic", grant_outputs_prefix="outputs", grant_write_prefixes=("outputs/integrations",))
|
||||
@a2a.tool(description="Run dry-run or allowlisted acceptance checks using endpoint metadata and secret references", input_schema=_ACCEPTANCE_INPUT_SCHEMA, timeout_seconds=180, idempotent=True, max_retries=0, cost_class="deterministic", grant_outputs_prefix="outputs", grant_write_prefixes=("outputs/integrations",))
|
||||
async def run_acceptance(self, ctx: RunContext[NoAuth], request: RunAcceptanceRequest) -> RunAcceptanceResult:
|
||||
dry_run = _effective_dry_run(self, request.dry_run)
|
||||
live_network_block = _live_network_unavailable_reason(self)
|
||||
|
||||
Reference in New Issue
Block a user