DSPy: The framework for programming—not prompting—language models
Python
PR comments
Alex57ea58c1c259
diff --git a/dsp/modules/hf_client.py b/dsp/modules/hf_client.pyindex 68f92af09..de9f986f6 100644--- a/dsp/modules/hf_client.py+++ b/dsp/modules/hf_client.py@@ -401,6 +401,7 @@ class Anyscale(HFModel):super().__init__(model=model, is_client=True)self.session = requests.Session()self.api_base = os.getenv("ANYSCALE_API_BASE") or api_base+ assert not self.api_base.endswith("/"), "Anyscale base URL shouldn't end with /"self.token = os.getenv("ANYSCALE_API_KEY") or api_keyself.model = modelself.kwargs = {