We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d705131 commit 08868c3Copy full SHA for 08868c3
examples/tutorials/10_async/00_base/080_batch_events/project/acp.py
@@ -9,6 +9,7 @@
9
10
from agentex.lib import adk
11
from agentex.lib.types.acp import SendEventParams, CancelTaskParams, CreateTaskParams
12
+from agentex.lib.types.fastacp import AsyncACPConfig
13
from agentex.lib.utils.logging import make_logger
14
from agentex.types.text_content import TextContent
15
from agentex.lib.sdk.fastacp.fastacp import FastACP
@@ -27,7 +28,7 @@ class Status(Enum):
27
28
29
30
# Create an ACP server
-acp = FastACP.create(acp_type="agentic", config=AgenticACPConfig(type="base"))
31
+acp = FastACP.create(acp_type="async", config=AsyncACPConfig(type="base"),)
32
33
34
async def process_events_batch(events, task_id: str) -> str:
0 commit comments