CryptoScoutv1 commited on
Commit
b9ece36
·
verified ·
1 Parent(s): 99f6d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -18,12 +18,12 @@ def run_crew_ai(query):
18
 
19
  # Initialize tools
20
  search_tool = DuckDuckGoSearchRun()
21
- human_tools = load_tools(["human"])
22
 
23
  # Define Agents with verbose set to False and backstories
24
  researcher = Agent(
25
  role='Researcher',
26
- goal='Identify new and relevant cryptocurrencies based on user criteria using the internet tool',
27
  backstory='As a Researcher, I am skilled in navigating the vast ocean of online information to discover emerging and promising cryptocurrencies..',
28
  tools=[search_tool],
29
  verbose=False,
@@ -46,7 +46,7 @@ def run_crew_ai(query):
46
  goal='Structure all gathered information into a clear, concise format, if information is missing from the final format I will pass the task back to the info_gather agent.',
47
  backstory='As a Formatter, I excel in organizing complex information into a structured and easily understandable format for the end-user.',
48
  verbose=False,
49
- allow_delegation=True,
50
  llm=llm2
51
  )
52
 
@@ -57,7 +57,7 @@ def run_crew_ai(query):
57
  )
58
 
59
  gather_task = Task(
60
- description='Gather all relevant information about the identified cryptocurrency including a summary, todays price, todays market capilization,offical URL.',
61
  agent=info_gatherer
62
  )
63
 
 
18
 
19
  # Initialize tools
20
  search_tool = DuckDuckGoSearchRun()
21
+ human_tools = load_tools(["human"]) ## Agent can ask for human input if they need more details
22
 
23
  # Define Agents with verbose set to False and backstories
24
  researcher = Agent(
25
  role='Researcher',
26
+ goal='Identify new and relevant cryptocurrency based on user criteria using the internet tool',
27
  backstory='As a Researcher, I am skilled in navigating the vast ocean of online information to discover emerging and promising cryptocurrencies..',
28
  tools=[search_tool],
29
  verbose=False,
 
46
  goal='Structure all gathered information into a clear, concise format, if information is missing from the final format I will pass the task back to the info_gather agent.',
47
  backstory='As a Formatter, I excel in organizing complex information into a structured and easily understandable format for the end-user.',
48
  verbose=False,
49
+ allow_delegation=False,
50
  llm=llm2
51
  )
52
 
 
57
  )
58
 
59
  gather_task = Task(
60
+ description='Gather all relevant information about the identified cryptocurrency including a summary, todays price, todays market capilization, offical URL.',
61
  agent=info_gatherer
62
  )
63