vsrinivas commited on
Commit
d6c8a21
·
verified ·
1 Parent(s): e8a4365

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -24,13 +24,13 @@ llm = HuggingFaceEndpoint(
24
  )
25
 
26
 
27
- manager = Agent(
28
- role="Project Manager",
29
- goal="Efficiently manage the crew and ensure high-quality task completion",
30
- backstory="You're an experienced project manager, specialized in financial investments & trading, skilled in overseeing complex projects and guiding teams to success. Your role is to coordinate the efforts of the crew members, ensuring that each task is completed on time and to the highest standard.",
31
- allow_delegation=True,
32
- tools = [scrape_tool, search_tool],
33
- )
34
 
35
 
36
  data_analyst_agent = Agent(
@@ -196,7 +196,7 @@ financial_trading_crew = Crew(
196
 
197
  # manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
198
  manager_llm=llm,
199
- manager_agent=manager,
200
  full_output =True,
201
  process=Process.hierarchical,
202
  verbose=True
 
24
  )
25
 
26
 
27
+ # manager = Agent(
28
+ # role="Project Manager",
29
+ # goal="Efficiently manage the crew and ensure high-quality task completion",
30
+ # backstory="You're an experienced project manager, specialized in financial investments & trading, skilled in overseeing complex projects and guiding teams to success. Your role is to coordinate the efforts of the crew members, ensuring that each task is completed on time and to the highest standard.",
31
+ # allow_delegation=True,
32
+ # tools = [scrape_tool, search_tool],
33
+ # )
34
 
35
 
36
  data_analyst_agent = Agent(
 
196
 
197
  # manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
198
  manager_llm=llm,
199
+ # manager_agent=manager,
200
  full_output =True,
201
  process=Process.hierarchical,
202
  verbose=True