CaroLife commited on
Commit
6288c79
·
verified ·
1 Parent(s): 5cf57c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import pandas as pd
9
  from Gradio_UI import GradioUI
10
 
11
  @tool
12
- def my_custom_tool(ticker_names:list[str])-> str:
13
  """A tool that fetches stock-exchage state for certain tickers.
14
  Use it always when you are requested to extract some finacial data.
15
  Args:
@@ -67,7 +67,7 @@ with open("prompts.yaml", 'r') as stream:
67
 
68
  agent = CodeAgent(
69
  model=model,
70
- tools=[image_generation_tool,get_current_time_in_timezone,final_answer,DuckDuckGoSearchTool()], ## add or remove tools here
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,
 
9
  from Gradio_UI import GradioUI
10
 
11
  @tool
12
+ def extract_financial_data(ticker_names:list[str])-> str:
13
  """A tool that fetches stock-exchage state for certain tickers.
14
  Use it always when you are requested to extract some finacial data.
15
  Args:
 
67
 
68
  agent = CodeAgent(
69
  model=model,
70
+ tools=[extract_financial_data,image_generation_tool,get_current_time_in_timezone,final_answer,DuckDuckGoSearchTool()], ## add or remove tools here
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,