Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ class BasicAgent:
|
|
17 |
print("BasicAgent initialized.")
|
18 |
token_key = os.getenv("HFAPI_KEY")
|
19 |
# Initialize the search tool
|
20 |
-
model = HfApiModel(model_id="
|
21 |
search_tool = DuckDuckGoSearchTool()
|
22 |
|
23 |
self.agent = CodeAgent(model=model, tools=[search_tool])
|
|
|
17 |
print("BasicAgent initialized.")
|
18 |
token_key = os.getenv("HFAPI_KEY")
|
19 |
# Initialize the search tool
|
20 |
+
model = HfApiModel(model_id="microsoft/Phi-4-reasoning", api_key=token_key)
|
21 |
search_tool = DuckDuckGoSearchTool()
|
22 |
|
23 |
self.agent = CodeAgent(model=model, tools=[search_tool])
|