DSPy: The framework for programming—not prompting—language models
Python
Revert "Remove kwargs print call in Claude LM"
Herumb Shandilya11847e09c377
diff --git a/dsp/modules/anthropic.py b/dsp/modules/anthropic.pyindex d638ebcd3..68f30ce7a 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 = {