code editor: Agent Studio improvement iteration 2 for contract-clock-studio-v1. Goa
This commit is contained in:
2
a2a.yaml
2
a2a.yaml
@@ -1,5 +1,5 @@
|
|||||||
name: contract-clock-studio-v1
|
name: contract-clock-studio-v1
|
||||||
version: 0.1.2
|
version: 0.1.3
|
||||||
entrypoint: agent:ContractClockStudioV1
|
entrypoint: agent:ContractClockStudioV1
|
||||||
expose:
|
expose:
|
||||||
public: false
|
public: false
|
||||||
|
|||||||
4
agent.py
4
agent.py
@@ -71,7 +71,7 @@ class ContractClockStudioV1(A2AAgent[ContractClockStudioV1Config, PlatformUserAu
|
|||||||
"contracts, saves user-scoped timelines, and reopens them in a packed "
|
"contracts, saves user-scoped timelines, and reopens them in a packed "
|
||||||
"one-page studio."
|
"one-page studio."
|
||||||
)
|
)
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
|
|
||||||
config_model = ContractClockStudioV1Config
|
config_model = ContractClockStudioV1Config
|
||||||
auth_model = PlatformUserAuth
|
auth_model = PlatformUserAuth
|
||||||
@@ -197,7 +197,7 @@ class ContractClockStudioV1(A2AAgent[ContractClockStudioV1Config, PlatformUserAu
|
|||||||
"document from the packed frontend."
|
"document from the packed frontend."
|
||||||
),
|
),
|
||||||
timeout_seconds=30,
|
timeout_seconds=30,
|
||||||
idempotent=True,
|
idempotent=False,
|
||||||
cost_class="cheap",
|
cost_class="cheap",
|
||||||
)
|
)
|
||||||
async def analyze_contract_upload(
|
async def analyze_contract_upload(
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ def test_full_stack_product_contract():
|
|||||||
frontend = (ROOT / "frontend" / "src" / "App.jsx").read_text(encoding="utf-8")
|
frontend = (ROOT / "frontend" / "src" / "App.jsx").read_text(encoding="utf-8")
|
||||||
browser_client = (ROOT / "frontend" / "src" / "a2a.js").read_text(encoding="utf-8")
|
browser_client = (ROOT / "frontend" / "src" / "a2a.js").read_text(encoding="utf-8")
|
||||||
|
|
||||||
assert "version: 0.1.1" in manifest
|
assert "version: 0.1.3" in manifest
|
||||||
assert "public: false" in manifest
|
assert "public: false" in manifest
|
||||||
assert "frontend:" in manifest and "mount: /app" in manifest
|
assert "frontend:" in manifest and "mount: /app" in manifest
|
||||||
assert "resources:" in manifest and "databases:" in manifest
|
assert "resources:" in manifest and "databases:" in manifest
|
||||||
|
|||||||
Reference in New Issue
Block a user