Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering Async Reply Enabled Async Human Input #806

Closed
ShobhitVishnoi30 opened this issue Nov 29, 2023 · 0 comments · Fixed by #794
Closed

Registering Async Reply Enabled Async Human Input #806

ShobhitVishnoi30 opened this issue Nov 29, 2023 · 0 comments · Fixed by #794

Comments

@ShobhitVishnoi30
Copy link
Contributor

The main issue that would occur without registering the async reply function is:

Async Human Input Would Not Work

Without registering ConversableAgent.a_check_termination_and_human_reply as a possible reply, the generate_reply method would never call the async reply functions like a_get_human_input. So any async human input flows would be broken - the agent would not be able to get async human input properly.

So in summary, the key problem was:

  • Async human input methods like a_get_human_input would not be called
  • Therefore no async human input would work
  • User would not be able to provide async inputs to the agent

Registering that additional async reply handler fixed this issue and enabled the async human input flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants