Spaces:
Build error
Build error
Removed variable model
Browse files
app.py
CHANGED
|
@@ -18,7 +18,6 @@ class BasicAgent:
|
|
| 18 |
# Initialize the agent with a model and tools
|
| 19 |
agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
|
| 20 |
self.agent = agent
|
| 21 |
-
print(f"Agent initialized with model: {model.model_id}")
|
| 22 |
print(f"Agent initialized with tools: {self.agent.tools}")
|
| 23 |
|
| 24 |
def __call__(self, question: str) -> str:
|
|
|
|
| 18 |
# Initialize the agent with a model and tools
|
| 19 |
agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
|
| 20 |
self.agent = agent
|
|
|
|
| 21 |
print(f"Agent initialized with tools: {self.agent.tools}")
|
| 22 |
|
| 23 |
def __call__(self, question: str) -> str:
|