Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

ruff fix

Arbaaz-Mahmoodf703a0008604
diff --git a/dspy/predict/program_of_thought.py b/dspy/predict/program_of_thought.py
index f142829b6..52d6ff1d5 100644
--- a/dspy/predict/program_of_thought.py
+++ b/dspy/predict/program_of_thought.py
@@ -116,7 +116,7 @@ class ProgramOfThought(Module):
elif mode == "regenerate":
instr = [
f"You are given {mode_inputs} due to an error in previous code.",
- f"Your task is to correct the error and provide the new `generated_code`.",
+ "Your task is to correct the error and provide the new `generated_code`.",
]
else: # mode == 'answer'
instr = [