Skip to content

Commit

Permalink
deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed Jul 8, 2024
1 parent fa9a42c commit c3b8ea2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/crewai/crew.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ def _create_task(self, task_config: Dict[str, Any]) -> Task:
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]"
Expand Down

0 comments on commit c3b8ea2

Please sign in to comment.