From c3b8ea21d39a29a3d8a050c39f6518888b2b49c0 Mon Sep 17 00:00:00 2001 From: Braelyn Boynton Date: Mon, 8 Jul 2024 13:56:17 -0700 Subject: [PATCH] deprecation messages --- README.md | 2 ++ src/crewai/crew.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index a4e2433dba..1847afa33e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +> 🚨 This fork has been deprecated. Please use the [official CrewAI repo](https://github.com/joaomdmoura/crewAI). +
![Logo of crewAI, two people rowing on a boat](./docs/crewai_logo.png) diff --git a/src/crewai/crew.py b/src/crewai/crew.py index 892338b40c..0a8adff5e2 100644 --- a/src/crewai/crew.py +++ b/src/crewai/crew.py @@ -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]"