Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update cohere.py

Isaac Millercf52db26ec92
diff --git a/dsp/modules/cohere.py b/dsp/modules/cohere.py
index f2ab0de69..1100206d4 100644
--- a/dsp/modules/cohere.py
+++ b/dsp/modules/cohere.py
@@ -6,7 +6,6 @@ from dsp.modules.lm import LM
try:
import cohere
-
cohere_api_error = cohere.errors.UnauthorizedError
except ImportError:
cohere_api_error = Exception