Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,10 +34,10 @@ model_list = [
|
|
34 |
# model_id="Qwen/Qwen3-235B-A22B",
|
35 |
# api_key=os.getenv("HFT") # Ensure this environment variable is set
|
36 |
#)
|
37 |
-
|
38 |
|
39 |
|
40 |
-
model = Router(model_list=model_list)
|
41 |
|
42 |
|
43 |
|
@@ -73,8 +73,6 @@ class BasicAgent:
|
|
73 |
],
|
74 |
),
|
75 |
SpeechToTextTool(),
|
76 |
-
WikipediaSearchTool(),
|
77 |
-
VisitWebpageTool()
|
78 |
], model=model)
|
79 |
print("BasicAgent initialized.")
|
80 |
self.agent.prompt_templates["system_prompt"] = self.agent.prompt_templates["system_prompt"] + system_prompt
|
|
|
34 |
# model_id="Qwen/Qwen3-235B-A22B",
|
35 |
# api_key=os.getenv("HFT") # Ensure this environment variable is set
|
36 |
#)
|
37 |
+
model = LiteLLMModel(model_id="openrouter/deepseek/deepseek-r1-0528:free", api_key="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",max_retries=3)
|
38 |
|
39 |
|
40 |
+
#model = Router(model_list=model_list)
|
41 |
|
42 |
|
43 |
|
|
|
73 |
],
|
74 |
),
|
75 |
SpeechToTextTool(),
|
|
|
|
|
76 |
], model=model)
|
77 |
print("BasicAgent initialized.")
|
78 |
self.agent.prompt_templates["system_prompt"] = self.agent.prompt_templates["system_prompt"] + system_prompt
|