Added docstring

This commit is contained in:
Vidit-Ostwal
2025-03-03 21:12:21 +05:30
parent 52e0a84829
commit cf1864ce0f

View File

@@ -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",