Commit ·
296d5c7
1
Parent(s): fef0947
Fix imports in agent.py
Browse files
agent.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
# --- Basic Agent Definition ---
|
|
|
|
| 1 |
+
from smolagents import ToolCallingAgent, CodeAgent, LiteLLMModel
|
| 2 |
+
import LiteLLMModel
|
| 3 |
import os
|
| 4 |
|
| 5 |
# --- Basic Agent Definition ---
|
app.py
CHANGED
|
@@ -4,7 +4,6 @@ import requests
|
|
| 4 |
import inspect
|
| 5 |
import pandas as pd
|
| 6 |
from agent import BasicAgent
|
| 7 |
-
from smolagents import ToolCallingAgent, CodeAgent, LiteLLMModel
|
| 8 |
|
| 9 |
from tools import DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
|
| 10 |
|
|
|
|
| 4 |
import inspect
|
| 5 |
import pandas as pd
|
| 6 |
from agent import BasicAgent
|
|
|
|
| 7 |
|
| 8 |
from tools import DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
|
| 9 |
|