deprecation messages

This commit is contained in:
Braelyn Boynton
2024-07-08 13:56:17 -07:00
parent fa9a42cd89
commit c3b8ea21d3
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
> 🚨 This fork has been deprecated. Please use the [official CrewAI repo](https://github.com/joaomdmoura/crewAI).
<div align="center">
![Logo of crewAI, two people rowing on a boat](./docs/crewai_logo.png)

View File

@@ -247,6 +247,9 @@ class Crew(BaseModel):
return Task(**task_config, agent=task_agent)
def kickoff(self, inputs: Optional[Dict[str, Any]] = {}) -> str:
raise DeprecationWarning('🚨 This fork has been deprecated. Please use the official Crew package instead. https://github.com/joaomdmoura/crewAI')
"""Starts the crew to work on its assigned tasks."""
self._execution_span = self._telemetry.crew_execution_span(self)
self._interpolate_inputs(inputs) # type: ignore # Argument 1 to "_interpolate_inputs" of "Crew" has incompatible type "dict[str, Any] | None"; expected "dict[str, Any]"