From 6091db19484f12f06ac5ccbcea3e106c6928a8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Mon, 11 Mar 2024 23:27:04 -0300 Subject: [PATCH] cutting new version with proper imports --- .pre-commit-config.yaml | 6 ------ pyproject.toml | 2 +- src/crewai/cli/templates/main.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 631cb522d..08799687a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,9 +13,3 @@ repos: - id: isort name: isort (python) args: ["--profile", "black", "--filter-files"] - - - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 - hooks: - - id: autoflake - args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variables', '--ignore-init-module-imports'] diff --git a/pyproject.toml b/pyproject.toml index e05ddc948..5d05039e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "crewai" -version = "0.22.4" +version = "0.22.5" description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks." authors = ["Joao Moura "] readme = "README.md" diff --git a/src/crewai/cli/templates/main.py b/src/crewai/cli/templates/main.py index c8ea12726..3aa0f35c0 100644 --- a/src/crewai/cli/templates/main.py +++ b/src/crewai/cli/templates/main.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -from .crew import {{crew_name}}Crew +from {{folder_name}}.crew import {{crew_name}}Crew def run():