diff --git a/gpt_engineer/steps.py b/gpt_engineer/steps.py index 52ab0ec..8729ed1 100644 --- a/gpt_engineer/steps.py +++ b/gpt_engineer/steps.py @@ -30,7 +30,7 @@ def clarify(ai: AI, dbs: DBs): while True: messages = ai.next(messages, user) - if messages[-1]["content"].strip().lower() == "no": + if messages[-1]['content'].strip().lower().startswith("no"): break print()