Open onlyphantom opened 1 year ago
@swyxio characters which can't be put directly into a string give syntax error, please look into it, a possible solution is to always to stringify the input to apis and output from api's
good bug - thank you. i havent really figured out how to fix this properly yet.
Running
python main_no_modal.py
with prompt including characters like;
and:
would throw the following error, seems to be related to one of the parsing (.lstrip(" \t")
).Edit: After some experimentation, it seems like it is the character
+
instead.Just for reproducibility:
python main_no_modal.py "a react app that is luxurious and dark-themed, offering a simple form to RSVP to the wedding; Form has following fields: first name, last name, checkbox indicating a +1"
-> this will not work and will throw the earlier errorpython main_no_modal.py "a react app that is luxurious and dark-themed, offering a simple form to RSVP to the wedding."
-> this will work.