mirror of
https://github.com/microsoft/autogen.git
synced 2026-05-13 03:00:55 -04:00
Fix bug in process event in worker runtime (#492)
This commit is contained in:
@@ -453,11 +453,11 @@ class WorkerAgentRuntime(AgentRuntime):
|
||||
|
||||
future = send_message(agent, message_context)
|
||||
responses.append(future)
|
||||
# Wait for all responses.
|
||||
try:
|
||||
await asyncio.gather(*responses)
|
||||
except BaseException as e:
|
||||
logger.error("Error handling event", exc_info=e)
|
||||
# Wait for all responses.
|
||||
try:
|
||||
await asyncio.gather(*responses)
|
||||
except BaseException as e:
|
||||
logger.error("Error handling event", exc_info=e)
|
||||
|
||||
async def register(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user