You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The issue (in 0.2) is just when you register a ClosureAgent with a given closure method and subscription, any published messages on the same sub will raise an exception if the ClosureAgent doesn't explicitly handle that message type.
Our use case is that you have some process that completes asynchronously, so send_message isn't applicable, but you want to wait for the result of that process in a given function (vs. writing a handler for the result).
so effectively publish_and_wait
the issue with the closure agent is kind of unrelated, it's just annoying that it raises an exception on unhandled messages
"
What did you expect to happen?
politely log the message.
How can we reproduce it (as minimally and precisely as possible)?
send a message to closure agent to which it is not subscribed
AutoGen version
0.4dev2
Which package was this bug in
AgentChat
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered:
What happened?
"The issue (in 0.2) is just when you register a ClosureAgent with a given closure method and subscription, any published messages on the same sub will raise an exception if the ClosureAgent doesn't explicitly handle that message type.
https://microsoft.github.io/autogen/0.4.0.dev10/_modules/autogen_core/_closure_agent.html#ClosureAgent.on_message_impl
autogen_core._closure_agent — AutoGen
Our use case is that you have some process that completes asynchronously, so send_message isn't applicable, but you want to wait for the result of that process in a given function (vs. writing a handler for the result).
so effectively publish_and_wait
the issue with the closure agent is kind of unrelated, it's just annoying that it raises an exception on unhandled messages
"
What did you expect to happen?
politely log the message.
How can we reproduce it (as minimally and precisely as possible)?
send a message to closure agent to which it is not subscribed
AutoGen version
0.4dev2
Which package was this bug in
AgentChat
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: