Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ model = LiteLLMModel(
|
|
| 103 |
|
| 104 |
# --- Initialize Tool-Calling Agent ---
|
| 105 |
agent = ToolCallingAgent(
|
| 106 |
-
tools=[WebSearchTool(), WikipediaTool(), WeatherTool()],
|
| 107 |
model=model,
|
| 108 |
max_steps=10,
|
| 109 |
)
|
|
@@ -121,7 +121,7 @@ def chat_with_agent(message, history):
|
|
| 121 |
demo = gr.ChatInterface(
|
| 122 |
fn=chat_with_agent,
|
| 123 |
title="🤖 Internet Agent",
|
| 124 |
-
description="An AI agent with web search, Wikipedia, and
|
| 125 |
examples=[
|
| 126 |
"What's the weather in Paris?",
|
| 127 |
"Search for recent news about AI",
|
|
|
|
| 103 |
|
| 104 |
# --- Initialize Tool-Calling Agent ---
|
| 105 |
agent = ToolCallingAgent(
|
| 106 |
+
tools=[WebSearchTool(), WikipediaTool(), WeatherTool(), LoadCsvTool()],
|
| 107 |
model=model,
|
| 108 |
max_steps=10,
|
| 109 |
)
|
|
|
|
| 121 |
demo = gr.ChatInterface(
|
| 122 |
fn=chat_with_agent,
|
| 123 |
title="🤖 Internet Agent",
|
| 124 |
+
description="An AI agent with web search, Wikipedia, weather and Csv-Reader tools powered by Gemma-2-2b",
|
| 125 |
examples=[
|
| 126 |
"What's the weather in Paris?",
|
| 127 |
"Search for recent news about AI",
|