From 166e8c24b8843ebf39d29e6cc7a09b6181c812fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20D=C3=B6rr?= Date: Sun, 19 May 2024 19:17:07 +0200 Subject: [PATCH] Clarify where requires_permission_to_run flag is used --- dspy/teleprompt/mipro_optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dspy/teleprompt/mipro_optimizer.py b/dspy/teleprompt/mipro_optimizer.py index e4dbe835e7..6254951c1c 100644 --- a/dspy/teleprompt/mipro_optimizer.py +++ b/dspy/teleprompt/mipro_optimizer.py @@ -395,7 +395,7 @@ def compile( user_confirmation_message = textwrap.dedent(f"""\ To proceed with the execution of this program, please confirm by typing {BLUE}'y'{ENDC} for yes or {BLUE}'n'{ENDC} for no. - If you would like to bypass this confirmation step in future executions, set the {YELLOW}`requires_permission_to_run`{ENDC} flag to {YELLOW}`False`.{ENDC} + If you would like to bypass this confirmation step in future executions, set the {YELLOW}`requires_permission_to_run`{ENDC} flag to {YELLOW}`False` when calling compile.{ENDC} {YELLOW}Awaiting your input...{ENDC} """)