DSPy: The framework for programming—not prompting—language models
Python
fix(dsp): Allow optional parameters to be optional
Rémi Connesson40dcd03548ca
diff --git a/dsp/modules/hf_client.py b/dsp/modules/hf_client.pyindex 3b3331520..a14bc2254 100644--- a/dsp/modules/hf_client.py+++ b/dsp/modules/hf_client.py@@ -136,8 +136,6 @@ class HFClientVLLM(HFModel):payload = {"model": self.model,"prompt": prompt,- "max_tokens": kwargs["max_tokens"],- "temperature": kwargs["temperature"],}