Skip to content

Commit 1ef058b

Browse files
Fix original task mapped to critic role
1 parent 63a9444 commit 1ef058b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/agents/agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def role_playing_start(
187187
session = RolePlaying(
188188
assistant,
189189
user,
190-
original_task,
190+
task_prompt=original_task,
191191
with_task_specify=with_task_specifier,
192192
task_specify_agent_kwargs=task_specify_kwargs,
193193
with_task_planner=False,

camel/societies/role_playing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def __init__(
7474
self,
7575
assistant_role_name: str,
7676
user_role_name: str,
77+
*,
7778
critic_role_name: str = "critic",
7879
task_prompt: str = "",
7980
with_task_specify: bool = True,

0 commit comments

Comments
 (0)