Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

(feature) Adding support for Mistral AI's API

Franck Stephane Ndzomga02dcab99cbba
diff --git a/dsp/modules/lm.py b/dsp/modules/lm.py
index 93ba6a35c..40eab49fb 100644
--- a/dsp/modules/lm.py
+++ b/dsp/modules/lm.py
@@ -76,7 +76,6 @@ class LM(ABC):
break
for idx, (prompt, choices) in enumerate(reversed(printed)):
- print(printed)
# skip the first `skip` prompts
if (n - idx - 1) < skip:
continue