Skier8402 commited on
Commit
d2711a7
·
verified ·
1 Parent(s): 83f50fa

Update crewai/crew.py

Browse files
Files changed (1) hide show
  1. crewai/crew.py +2 -0
crewai/crew.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import json
2
  import uuid
3
  from typing import Any, Dict, List, Optional, Union
@@ -20,6 +21,7 @@ from crewai.process import Process
20
  from crewai.task import Task
21
  from crewai.tools.agent_tools import AgentTools
22
 
 
23
 
24
  class Crew(BaseModel):
25
  """Class that represents a group of agents, how they should work together and their tasks."""
 
1
+ import os
2
  import json
3
  import uuid
4
  from typing import Any, Dict, List, Optional, Union
 
21
  from crewai.task import Task
22
  from crewai.tools.agent_tools import AgentTools
23
 
24
+ os.getenv("OPENAI_API_KEY")
25
 
26
  class Crew(BaseModel):
27
  """Class that represents a group of agents, how they should work together and their tasks."""