Update app.py
Browse files
app.py
CHANGED
@@ -95,6 +95,13 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
95 |
agent=research_agent,
|
96 |
)
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
### Gather information and structure it? or not ?
|
99 |
#### DEFINE What sections we need in the report for t3
|
100 |
|
@@ -109,7 +116,7 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
109 |
# Crew setup for processing the tasks sequentially
|
110 |
crypto_crew = Crew(
|
111 |
agents=[research_agent, research_agent2],
|
112 |
-
tasks=[market_data_t0],
|
113 |
verbose=2,
|
114 |
process=Process.sequential,
|
115 |
)
|
|
|
95 |
agent=research_agent,
|
96 |
)
|
97 |
|
98 |
+
test = Task(
|
99 |
+
description=f""""
|
100 |
+
Gather technical information using the search tool then process tool.
|
101 |
+
""",
|
102 |
+
tools=[search.technicalsignals_search, process_results],
|
103 |
+
agent=research_agent2,
|
104 |
+
)
|
105 |
### Gather information and structure it? or not ?
|
106 |
#### DEFINE What sections we need in the report for t3
|
107 |
|
|
|
116 |
# Crew setup for processing the tasks sequentially
|
117 |
crypto_crew = Crew(
|
118 |
agents=[research_agent, research_agent2],
|
119 |
+
tasks=[test, market_data_t0],
|
120 |
verbose=2,
|
121 |
process=Process.sequential,
|
122 |
)
|