Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,12 +54,11 @@ time_tool = get_current_time_in_timezone
|
|
54 |
# Create the agent
|
55 |
agent = CodeAgent(
|
56 |
model=model,
|
57 |
-
tools=[currency_tool,
|
58 |
max_steps=3,
|
59 |
verbosity_level=1
|
60 |
)
|
61 |
|
62 |
-
# Define example usage instructions
|
63 |
example_usage = """
|
64 |
### Example Usage
|
65 |
1. **Currency Rate**: Ask for the exchange rate of a currency pair.
|
|
|
54 |
# Create the agent
|
55 |
agent = CodeAgent(
|
56 |
model=model,
|
57 |
+
tools=[currency_tool, final_answer],
|
58 |
max_steps=3,
|
59 |
verbosity_level=1
|
60 |
)
|
61 |
|
|
|
62 |
example_usage = """
|
63 |
### Example Usage
|
64 |
1. **Currency Rate**: Ask for the exchange rate of a currency pair.
|