mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
fix "no" not working
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user