DSPy: The framework for programming—not prompting—language models
Python
Remove kwargs print call in Claude LM
Herumb Shandilya9242b01e6ae9
diff --git a/dsp/modules/anthropic.py b/dsp/modules/anthropic.pyindex 68f30ce7a..d638ebcd3 100644--- a/dsp/modules/anthropic.py+++ b/dsp/modules/anthropic.py@@ -80,7 +80,7 @@ class Claude(LM):# caching mechanism requires hashable kwargskwargs["messages"] = [{"role": "user", "content": prompt}]kwargs.pop("n")- print(kwargs)+response = self.client.messages.create(**kwargs)history = {