Commit
·
620168e
1
Parent(s):
3e6792a
+ llm model change
Browse files
agents.py
CHANGED
|
@@ -59,7 +59,8 @@ class LlamaIndexAgent:
|
|
| 59 |
print("DEBUG: All tools list:", all_tools)
|
| 60 |
print("DEBUG: Types in all_tools:", [type(t) for t in all_tools])
|
| 61 |
# LLM and agent workflow
|
| 62 |
-
self.llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2.5-Coder-32B-Instruct")
|
|
|
|
| 63 |
self.alfred = AgentWorkflow.from_tools_or_functions(
|
| 64 |
all_tools,
|
| 65 |
llm=self.llm,
|
|
|
|
| 59 |
print("DEBUG: All tools list:", all_tools)
|
| 60 |
print("DEBUG: Types in all_tools:", [type(t) for t in all_tools])
|
| 61 |
# LLM and agent workflow
|
| 62 |
+
# self.llm = HuggingFaceInferenceAPI(model_name="Qwen/Qwen2.5-Coder-32B-Instruct")
|
| 63 |
+
self.llm = HuggingFaceInferenceAPI(model_name="deepseek-ai/DeepSeek-R1-0528")
|
| 64 |
self.alfred = AgentWorkflow.from_tools_or_functions(
|
| 65 |
all_tools,
|
| 66 |
llm=self.llm,
|