Update app.py
Browse files
app.py
CHANGED
@@ -3,14 +3,14 @@ from tools import convert_currency
|
|
3 |
from tools_agent import Agent
|
4 |
|
5 |
|
|
|
|
|
6 |
def respond(
|
7 |
message,
|
8 |
history: list[tuple[str, str]],
|
9 |
system_message,
|
10 |
):
|
11 |
|
12 |
-
agent = Agent([convert_currency])
|
13 |
-
|
14 |
# message = "I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"
|
15 |
|
16 |
plan = agent.execute(message)
|
|
|
3 |
from tools_agent import Agent
|
4 |
|
5 |
|
6 |
+
agent = Agent([convert_currency])
|
7 |
+
|
8 |
def respond(
|
9 |
message,
|
10 |
history: list[tuple[str, str]],
|
11 |
system_message,
|
12 |
):
|
13 |
|
|
|
|
|
14 |
# message = "I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"
|
15 |
|
16 |
plan = agent.execute(message)
|