Skip to content

Commit 6b84b55

Browse files
committed
Use agent by default
1 parent 3d0ab54 commit 6b84b55

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

plain2code_arguments.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,15 @@ def create_parser():
356356
parser.add_argument(
357357
"--use-agent",
358358
action="store_true",
359-
default=False,
360-
help="Use agentic loop for fixing unit tests instead of the default iterative approach.",
359+
default=True,
360+
help="Use agentic loop for rendering and fixing tests (default: enabled).",
361+
)
362+
363+
parser.add_argument(
364+
"--no-agent",
365+
dest="use_agent",
366+
action="store_false",
367+
help="Disable agentic loop; use the legacy iterative approach instead.",
361368
)
362369

363370
parser.add_argument(

0 commit comments

Comments
 (0)