Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

ruff

Omar Khattabef4e5ad109c7
diff --git a/dspy/predict/chain_of_thought.py b/dspy/predict/chain_of_thought.py
index a7aa7b9a8..e7dc8c8aa 100644
--- a/dspy/predict/chain_of_thought.py
+++ b/dspy/predict/chain_of_thought.py
@@ -19,7 +19,6 @@ class ChainOfThought(Module):
prefix = "Reasoning: Let's think step by step in order to"
- import dspy
if isinstance(dspy.settings.lm, dspy.LM):
desc = "${reasoning}"
elif dspy.settings.experimental: