From 38fc5510ed822646c80aad9e5425c41d5102bffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Tue, 14 May 2024 11:32:05 -0300 Subject: [PATCH] ppreparing new version 0.30.9 --- pyproject.toml | 2 +- src/crewai/cli/templates/pyproject.toml | 2 +- src/crewai/project/crew_base.py | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 420d7f137..c3f8e5935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "crewai" -version = "0.30.8" +version = "0.30.10" 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/pyproject.toml b/src/crewai/cli/templates/pyproject.toml index c81390b44..3dd1c5e3c 100644 --- a/src/crewai/cli/templates/pyproject.toml +++ b/src/crewai/cli/templates/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] [tool.poetry.dependencies] python = ">=3.10,<=3.13" -crewai = {extras = ["tools"], version = "^0.30.8"} +crewai = {extras = ["tools"], version = "^0.30.9"} [tool.poetry.scripts] {{folder_name}} = "{{folder_name}}.main:run" diff --git a/src/crewai/project/crew_base.py b/src/crewai/project/crew_base.py index f726c5c58..74a9b50b6 100644 --- a/src/crewai/project/crew_base.py +++ b/src/crewai/project/crew_base.py @@ -1,21 +1,21 @@ import inspect -import os -from pathlib import Path - import yaml +import os + +from pathlib import Path +from pydantic import ConfigDict + from dotenv import load_dotenv - - load_dotenv() def CrewBase(cls): class WrappedClass(cls): + model_config = ConfigDict(arbitrary_types_allowed=True) is_crew_class: bool = True class Config: arbitrary_types_allowed = True - ignored_types = [bool] base_directory = None for frame_info in inspect.stack():