Skip to content

Building AI agents, atomically

fix deprecation warning

KennyVaneetvelde1765add90eda
diff --git a/atomic_agents/agents/base_agent.py b/atomic_agents/agents/base_agent.py
index a774df6..44d4042 100644
--- a/atomic_agents/agents/base_agent.py
+++ b/atomic_agents/agents/base_agent.py
@@ -71,8 +71,7 @@ class BaseAgentConfig(BaseModel):
input_schema: Optional[Type[BaseModel]] = Field(None, description="The schema for the input data.")
output_schema: Optional[Type[BaseModel]] = Field(None, description="The schema for the output data.")
- class Config:
- arbitrary_types_allowed = True
+ model_config = {"arbitrary_types_allowed": True}
class BaseAgent:
diff --git a/pyproject.toml b/pyproject.toml
index a6624d0..a6179f8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "atomic_agents"
-version = "0.3.2"
+version = "0.3.3"
description = "A versatile framework designed to facilitate the creation and management of intelligent agents."
authors = [
{ name = "Kenny Vaneetvelde", email = "[email protected]" }