-
Notifications
You must be signed in to change notification settings - Fork 690
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
Error for replace() when self.plan is a list #4
Comments
i guess i can work on it
can you tell that should i end every word with \n or not ? |
Great to see you solve it. It does not have to be with a \n. |
It is probably because GPT sometimes does not follow our instruction to output string. I see @devilkadabra69 have an soluton. Would you mind having a try? If this work we and intergrate it in the code. |
i hope it works thank you @vyokky for the response! |
At string formatting in flows.py for self.plan there is a .replace() operation called.
Sometimes the model returns self.plan as a list. In such cases an error is thrown because replace cannot be called on a list. Most of the time self.plan is a string so it's only happening sometimes and hard to reproduce.
The text was updated successfully, but these errors were encountered: