DSPy: The framework for programming—not prompting—language models
Python
Update hf_client.py
arnavsinghvi113a7d2bbc4695
diff --git a/dsp/modules/hf_client.py b/dsp/modules/hf_client.pyindex a6cea65df..07aea1c1e 100644--- a/dsp/modules/hf_client.py+++ b/dsp/modules/hf_client.py@@ -198,8 +198,8 @@ class Anyscale(HFModel):def __init__(self, model, **kwargs):super().__init__(model=model, is_client=True)self.session = requests.Session()- self.api_base = os.getenv("OPENAI_API_BASE")- self.token = os.getenv("OPENAI_API_KEY")+ self.api_base = os.getenv("ANYSCALE_API_BASE")+ self.token = os.getenv("ANYSCALE_API_KEY")self.model = modelself.kwargs = {"temperature": 0.0,