Symptom
The linked issue does not give an error string. Adding a second Modifier.register on the core quick-start makes the program run forever.
Evidence what you'll see
- The registration added in the report is
Modifier.register(self.runtime, "modifier2", lambda: Modifier(modify_val=lambda x: x - 1)). - The reporter expected both modifiers to count down independently.
Why it happens
The maintainer explained that this quick-start has one topic, the default topic, and every registered agent both publishes to it and subscribes to it. A second modifier publishes a new message for every message from the first, and that new message makes the first publish again. The two agents are not counting separate values. They are handing one conversation back and forth.
Affected versions
AutoGen 0.4.2, package Core, on WSL. The report leaves the model and the Python version blank.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
- Both modifiers count down on their own, which is what the reporter expected, and the runtime goes idle.
If it still fails
- The issue was closed after that explanation. The linked issue does not name a release that changes the quick-start.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it