Skip to content

Commit d141fdb

Browse files
committed
refactor(agent): action prompt improved for more stability (again)
The action prompt was sometimes wrongly used. This new format makes it more stable Signed-off-by: Valentin De Matos <[email protected]>
1 parent 8fbab7a commit d141fdb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

agentarium/Agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class Agent:
8585
8686
Write in the following format:
8787
<THINK>
88-
[YOUR_THOUGHTS]
88+
{{YOUR_THOUGHTS}}
8989
</THINK>
9090
9191
<ACTION>
92-
[One of the following actions: {list_of_actions}]
92+
[{{One of the following actions: {list_of_actions}}}]
9393
</ACTION>
9494
"""
9595

agentarium/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .AgentInteractionManager import AgentInteractionManager
44
from .Interaction import Interaction
55

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

88
__all__ = [
99
"Agent",

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.2"
7+
version = "0.2.3"
88
authors = [
99
{ name = "thytu" },
1010
]

0 commit comments

Comments
 (0)