Skip to content

Commit 08868c3

Browse files
committed
Update acp.py
1 parent d705131 commit 08868c3

File tree

1 file changed

+2
-1
lines changed
  • examples/tutorials/10_async/00_base/080_batch_events/project

1 file changed

+2
-1
lines changed

examples/tutorials/10_async/00_base/080_batch_events/project/acp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from agentex.lib import adk
1111
from agentex.lib.types.acp import SendEventParams, CancelTaskParams, CreateTaskParams
12+
from agentex.lib.types.fastacp import AsyncACPConfig
1213
from agentex.lib.utils.logging import make_logger
1314
from agentex.types.text_content import TextContent
1415
from agentex.lib.sdk.fastacp.fastacp import FastACP
@@ -27,7 +28,7 @@ class Status(Enum):
2728

2829

2930
# Create an ACP server
30-
acp = FastACP.create(acp_type="agentic", config=AgenticACPConfig(type="base"))
31+
acp = FastACP.create(acp_type="async", config=AsyncACPConfig(type="base"),)
3132

3233

3334
async def process_events_batch(events, task_id: str) -> str:

0 commit comments

Comments
 (0)