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

Add async option #3

Open
lazToum opened this issue Dec 26, 2024 · 0 comments
Open

Add async option #3

lazToum opened this issue Dec 26, 2024 · 0 comments

Comments

@lazToum
Copy link
Member

lazToum commented Dec 26, 2024

Running in async mode should be supported:

We should:

  • add a flag (boolean) at the WaldiezFlow level/model to indicate the mode to use. Defaulting to False (sync mode).
  • When generating the string to export the agents, models, chats, skills and run the flow, we should use the relevant ag2 implementation (e.g. a_initiate_chat, "use_async" in agent.register_nested_chats, etc)
  • Update the main to use asyncio (or anyio)
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

No branches or pull requests

1 participant