Update app.py
Browse files
app.py
CHANGED
@@ -63,15 +63,11 @@ def create_crewai_crypto_setup(crypto_symbol):
|
|
63 |
Ensure the plan includes actionable advice on when to buy, sell, and hold, along with risk management strategies.""",
|
64 |
agent=report_formatting_agent,
|
65 |
)
|
66 |
-
task6 = Task(
|
67 |
-
description=f"""Condense the detailed investment plan for {crypto_symbol} into a concise, note-like format. Ensure the output highlights key price targets, technical indicators, and strategic advice within a 2000-character limit. Focus on succinctness and clarity, preserving the most critical investment insights.""",
|
68 |
-
agent=report_formatting_agent,
|
69 |
-
)
|
70 |
|
71 |
# Update the Crew to include the new condensing task
|
72 |
crypto_crew = Crew(
|
73 |
agents=[research_agent, report_formatting_agent],
|
74 |
-
tasks=[task1, task2, task3, task4, task5
|
75 |
verbose=2,
|
76 |
process=Process.sequential,
|
77 |
)
|
|
|
63 |
Ensure the plan includes actionable advice on when to buy, sell, and hold, along with risk management strategies.""",
|
64 |
agent=report_formatting_agent,
|
65 |
)
|
|
|
|
|
|
|
|
|
66 |
|
67 |
# Update the Crew to include the new condensing task
|
68 |
crypto_crew = Crew(
|
69 |
agents=[research_agent, report_formatting_agent],
|
70 |
+
tasks=[task1, task2, task3, task4, task5],
|
71 |
verbose=2,
|
72 |
process=Process.sequential,
|
73 |
)
|