Skip to content

Commit f05d3f3

Browse files
committed
fix: imports (oupsy)
Signed-off-by: Valentin De Matos <[email protected]>
1 parent d141fdb commit f05d3f3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

agentarium/CheckpointManager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def load(self) -> None:
8383
Load a simulation from a checkpoint.
8484
"""
8585

86-
from agentarium.agent import Agent
86+
from agentarium import Agent
8787
env_data = pickle.load(open(self.path, "rb"))
8888

8989
self._state = OrderedDict(env_data["state"])

agentarium/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from .agent import Agent
1+
from .Agent import Agent
22
# from .Environment import Environment
33
from .AgentInteractionManager import AgentInteractionManager
44
from .Interaction import Interaction
55

6-
__version__ = "0.2.3"
6+
__version__ = "0.2.4"
77

88
__all__ = [
99
"Agent",

examples/1_basic_chat/demo.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from agentarium.Agent import Agent
1+
from agentarium import Agent
22

33
# Create some agents
4-
alice_agent = Agent(name="Alice", occupation="Software Engineer")
5-
bob_agent = Agent(name="Bob", occupation="Data Scientist")
4+
alice_agent = Agent.create_agent(name="Alice", occupation="Software Engineer")
5+
bob_agent = Agent.create_agent(name="Bob", occupation="Data Scientist")
66

77
alice_agent.talk_to(bob_agent, "Hello Bob! I heard you're working on some interesting data science projects.")
88
bob_agent.talk_to(alice_agent, "Hi Alice! Yes, I'm currently working on a machine learning model for natural language processing.")

examples/2_checkpointing/demo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from agentarium.agent import Agent
1+
from agentarium import Agent
22
from agentarium.CheckpointManager import CheckpointManager
33

44

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "agentarium"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
authors = [
99
{ name = "thytu" },
1010
]

0 commit comments

Comments
 (0)