a2a-source-edit: write agent.py
This commit is contained in:
7
agent.py
7
agent.py
@@ -32,6 +32,8 @@ from a2a_pack import (
|
||||
Pricing,
|
||||
Resources,
|
||||
RunContext,
|
||||
WorkspaceAccess,
|
||||
WorkspaceMode,
|
||||
)
|
||||
|
||||
|
||||
@@ -124,6 +126,11 @@ class ProductionProofV116HighUtili72551(
|
||||
notes="Account required. First 3 platform skill calls are funded; after that BYOK is required by the platform.",
|
||||
)
|
||||
resources = Resources(cpu="500m", memory="512Mi", max_runtime_seconds=120)
|
||||
workspace_access = WorkspaceAccess.dynamic(
|
||||
max_files=16,
|
||||
allowed_modes=(WorkspaceMode.READ_WRITE_OVERLAY,),
|
||||
require_reason=False,
|
||||
)
|
||||
platform_resources = AgentPlatformResources(
|
||||
databases=(
|
||||
AgentDatabase(
|
||||
|
||||
Reference in New Issue
Block a user