jafhaponiuk commited on
Commit
f7a52cb
·
verified ·
1 Parent(s): 57a2578

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -24,7 +24,7 @@ load_dotenv()
24
  # Ensure that your HF_TOKEN is available as an environment variable
25
  # If using a specific endpoint, verify it's correct.
26
 
27
- llm = HuggingFaceTextGenInference(
28
  endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
29
  temperature=0.01, # Keep a low temperature for consistent tool-use decisions
30
  # Si tu HF_TOKEN no se está cargando automáticamente, puedes añadirlo aquí:
 
24
  # Ensure that your HF_TOKEN is available as an environment variable
25
  # If using a specific endpoint, verify it's correct.
26
 
27
+ llm = HuggingFaceEndpoint(
28
  endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
29
  temperature=0.01, # Keep a low temperature for consistent tool-use decisions
30
  # Si tu HF_TOKEN no se está cargando automáticamente, puedes añadirlo aquí: