feat: add Nailong Fund advisor capabilities
This commit is contained in:
@@ -40,11 +40,11 @@ async def test_http_accept_worker_commit_query_and_repeat(acceptance_registry, r
|
||||
"session_id": session_id, "idempotency_key": str(uuid4()),
|
||||
})
|
||||
assert response.status_code == 202
|
||||
run_id = response.json()["run_id"]
|
||||
run_id = response.json()["data"]["run_id"]
|
||||
assert await runtime.dispatch_one(run_id=run_id)
|
||||
assert not await runtime.dispatch_one(run_id=run_id)
|
||||
await asyncio.gather(runtime.execute(run_id), runtime.execute(run_id))
|
||||
result = (await client.get(f"/api/v1/agent-runs/{run_id}")).json()
|
||||
result = (await client.get(f"/api/v1/agent-runs/{run_id}")).json()["data"]
|
||||
assert result["status"] == ("failed" if revoked else "succeeded")
|
||||
if not revoked:
|
||||
assert result["result"]["content"] == "test result"
|
||||
|
||||
Reference in New Issue
Block a user