DSPy: The framework for programming—not prompting—language models
Python
Clarify where requires_permission_to_run flag is used
Tom Dörr166e8c24b884
diff --git a/dspy/teleprompt/mipro_optimizer.py b/dspy/teleprompt/mipro_optimizer.pyindex e4dbe835e..6254951c1 100644--- a/dspy/teleprompt/mipro_optimizer.py+++ b/dspy/teleprompt/mipro_optimizer.py@@ -395,7 +395,7 @@ class MIPRO(Teleprompter):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}""")