Skip to content

Commit

Permalink
refactor(agent): action prompt improved for more stability (again)
Browse files Browse the repository at this point in the history
The action prompt was sometimes wrongly used. This new format makes it more stable

Signed-off-by: Valentin De Matos <vltn.dematos@gmail.com>
  • Loading branch information
Thytu committed Dec 24, 2024
1 parent 8fbab7a commit d141fdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions agentarium/Agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ class Agent:
Write in the following format:
<THINK>
[YOUR_THOUGHTS]
{{YOUR_THOUGHTS}}
</THINK>
<ACTION>
[One of the following actions: {list_of_actions}]
[{{One of the following actions: {list_of_actions}}}]
</ACTION>
"""

Expand Down
2 changes: 1 addition & 1 deletion agentarium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .AgentInteractionManager import AgentInteractionManager
from .Interaction import Interaction

__version__ = "0.2.2"
__version__ = "0.2.3"

__all__ = [
"Agent",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "agentarium"
version = "0.2.2"
version = "0.2.3"
authors = [
{ name = "thytu" },
]
Expand Down

0 comments on commit d141fdb

Please sign in to comment.