Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update cohere.py

Jay Alammarf81bddce1ae4
diff --git a/dsp/modules/cohere.py b/dsp/modules/cohere.py
index c574b20bd..43464c825 100644
--- a/dsp/modules/cohere.py
+++ b/dsp/modules/cohere.py
@@ -89,7 +89,6 @@ class Cohere(LM):
if "pop" in kwargs.keys():
kwargs.pop("pop")
-
response = self.co.chat(**kwargs)
self.history.append(