mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 20:55:09 +01:00
fix "no" not working
This commit is contained in:
@@ -30,7 +30,7 @@ def clarify(ai: AI, dbs: DBs):
|
|||||||
while True:
|
while True:
|
||||||
messages = ai.next(messages, user)
|
messages = ai.next(messages, user)
|
||||||
|
|
||||||
if messages[-1]["content"].strip().lower() == "no":
|
if messages[-1]['content'].strip().lower().startswith("no"):
|
||||||
break
|
break
|
||||||
|
|
||||||
print()
|
print()
|
||||||
|
|||||||
Reference in New Issue
Block a user