You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

differences-from-python.md 570 B

12345678
  1. # Differences from Python
  2. ## Publishing to a topic that an agent is also subscribed to
  3. > [!NOTE]
  4. > TLDR; Default behavior is identical.
  5. When an agent publishes a message to a topic to which it also listens, the message will not be received by the agent that sent it. This is also the behavior in the Python runtime. However to support previous usage, in @Microsoft.AutoGen.Core.InProcessRuntime, you can set the @Microsoft.AutoGen.Core.InProcessRuntime.DeliverToSelf property to true in the TopicSubscription attribute to allow an agent to receive messages it sends.