Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Added docstring

Vidit-Ostwalcf1864ce0fd0
diff --git a/src/crewai/crew.py b/src/crewai/crew.py
index c3acf4a80..b19eea20c 100644
--- a/src/crewai/crew.py
+++ b/src/crewai/crew.py
@@ -1099,7 +1099,16 @@ class Crew(BaseModel):
return required_inputs
def copy(self):
- """Create a deep copy of the Crew."""
+ """
+ Creates a deep copy of the Crew instance.
+
+ Handles copying of:
+ - Basic attributes
+ - Manager agent and LLM configurations
+
+ Returns:
+ Crew: A new instance with copied components
+ """
exclude = {
"id",