Update agent.py
Browse files
agent.py
CHANGED
|
@@ -20,7 +20,7 @@ def build_graph():
|
|
| 20 |
# Initialize HuggingFace Qwen model as fallback
|
| 21 |
llm = HuggingFaceEndpoint(
|
| 22 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 23 |
-
|
| 24 |
)
|
| 25 |
|
| 26 |
# Node: Retriever
|
|
|
|
| 20 |
# Initialize HuggingFace Qwen model as fallback
|
| 21 |
llm = HuggingFaceEndpoint(
|
| 22 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 23 |
+
Optionally: huggingfacehub_api_token=os.environ["HF_TOKEN"]
|
| 24 |
)
|
| 25 |
|
| 26 |
# Node: Retriever
|