Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
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 =
|
| 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í:
|