Skip to content

Commit 460b2ad

Browse files
author
Your Name
committed
#204: By default, give the user the space to veto the architect if the set auto-accept-architect to false
1 parent 9863a5f commit 460b2ad

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cecli/coders/architect_coder.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ async def reply_completed(self):
1818
return
1919

2020
tweak_responses = getattr(self.args, "tweak_responses", False)
21-
confirmation = await self.io.confirm_ask("Edit the files?", allow_tweak=tweak_responses)
21+
confirmation = await self.io.confirm_ask(
22+
"Edit the files?",
23+
allow_tweak=tweak_responses,
24+
explicit_yes_required=not self.auto_accept_architect,
25+
)
2226

23-
if not self.auto_accept_architect and not confirmation:
27+
if not confirmation:
2428
return
2529

2630
if confirmation == "tweak":

0 commit comments

Comments
 (0)