Skip to content

Commit 1765add

Browse files
fix deprecation warning
1 parent d8744d2 commit 1765add

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

atomic_agents/agents/base_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ class BaseAgentConfig(BaseModel):
7171
input_schema: Optional[Type[BaseModel]] = Field(None, description="The schema for the input data.")
7272
output_schema: Optional[Type[BaseModel]] = Field(None, description="The schema for the output data.")
7373

74-
class Config:
75-
arbitrary_types_allowed = True
74+
model_config = {"arbitrary_types_allowed": True}
7675

7776

7877
class BaseAgent:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "atomic_agents"
7-
version = "0.3.2"
7+
version = "0.3.3"
88
description = "A versatile framework designed to facilitate the creation and management of intelligent agents."
99
authors = [
1010
{ name = "Kenny Vaneetvelde", email = "[email protected]" }

0 commit comments

Comments
 (0)