a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-18 08:11:49 +00:00
parent 2bdaa5396f
commit b952857ffd

View File

@@ -115,6 +115,12 @@ class ContractClockStudioV1(A2AAgent[ContractClockStudioV1Config, PlatformUserAu
notes="Deterministic deadline extraction; no LLM usage.",
)
resources = Resources(cpu="500m", memory="512Mi", max_runtime_seconds=120)
workspace_access = WorkspaceAccess.dynamic(
max_files=1,
allowed_modes=(WorkspaceMode.READ_ONLY,),
require_reason=False,
max_total_size_bytes=MAX_BROWSER_UPLOAD_BYTES,
)
state = State.DURABLE
tools_used = ("managed-postgres", "mcp", "packed-frontend")
platform_resources = AgentPlatformResources(