Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Remove comment

Connor Shortenaaa5a1646f53
diff --git a/dsp/modules/lm.py b/dsp/modules/lm.py
index d59b57568..41c90e03c 100644
--- a/dsp/modules/lm.py
+++ b/dsp/modules/lm.py
@@ -75,7 +75,6 @@ class LM(ABC):
text = ""
if provider == "cohere":
- # The Cohere `Chat` API does not support multiple generations per call
text = choices
elif provider == "openai" or provider == "ollama":
text = " " + self._get_choice_text(choices[0]).strip()