-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Chainlit implementation with tools gives - ValueError: Consecutive empty chunks found. Change max_empty_consecutive_chunk_tolerance to increase empty chunk tolerance #5578
Comments
@ipshitag please upgrade your package version to the latest. Also, not sure if this is intended but:
The latest is 0.4.7. Make sure you have the right package and version installed. |
Thankyou that worked, I am still confused how I ended up with 0.7.4 lol I was trying to put SelectorGroupChat along with human in loop, code as follows:
If I put user_proxy it starts taking input from terminal, and if i dont, it goes into a loop. Is there any example available for human in loop type use case? I dont know if this is the correct thread to ask question, let me know where I should post. |
@ipshitag user proxy's input function can be customized to not take input from terminal. You are using ChainLit, so you need to use a ChainLit specific input function. There is a fast API example in the sample that has a user proxy. For ChainLit, you may check out: https://docs.chainlit.io/api-reference/ask/ask-for-input. I am not familiar with ChainLit, you need to dig into it a bit. @victordibia may help here. If you figure it out, we appreciate if you can submit a PR to update the sample. |
Closing this now. Please use #5610 for the ChainLit + UserProxyAgent |
What happened?
I followed line by line the code - Agent Chat and Team Chat, and in both cases, the task without function calling worked fine, but the one with function calling returned:
This is the full stack:
What did you expect to happen?
To get the function call happen properly.
How can we reproduce it (as minimally and precisely as possible)?
I did not make any changes to the sample code, so running the same, should reproduce.
AutoGen version
0.7.4
Which package was this bug in
AgentChat
Model used
gpt-4o
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: