jarguello76 commited on
Commit
3b56fd3
·
verified ·
1 Parent(s): 10fc7a2

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -186,7 +186,7 @@ def build_graph(provider: str = "huggingface"):
186
  llm = ChatHuggingFace(
187
  llm=HuggingFaceEndpoint(
188
  endpoint_url="https://api-inference.huggingface.co/models/HuggingFaceTB/SmolLM2-1.7B-Instruct",
189
- huggingfacehub_api_token=os.getenv("agents_token") # Ensure you have this in your .env file
190
  )
191
  )
192
  else:
 
186
  llm = ChatHuggingFace(
187
  llm=HuggingFaceEndpoint(
188
  endpoint_url="https://api-inference.huggingface.co/models/HuggingFaceTB/SmolLM2-1.7B-Instruct",
189
+ huggingfacehub_api_token=os.getenv("HF_INFERENCE_ENDPOINT") # Ensure you have this in your .env file
190
  )
191
  )
192
  else: