mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-26 06:28:50 +00:00
Remove namespace check (#411)
This is no longer correct after the move to topics
This commit is contained in:
parent
12cf331e71
commit
bb55e7a20e
@ -177,9 +177,6 @@ class SingleThreadedAgentRuntime(AgentRuntime):
|
||||
if recipient.type not in self._known_agent_names:
|
||||
future.set_exception(Exception("Recipient not found"))
|
||||
|
||||
if sender is not None and sender.key != recipient.key:
|
||||
raise ValueError("Sender and recipient must be in the same namespace to communicate.")
|
||||
|
||||
content = message.__dict__ if hasattr(message, "__dict__") else message
|
||||
logger.info(f"Sending message of type {type(message).__name__} to {recipient.type}: {content}")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user