use get_prefix

This commit is contained in:
Yizhou Chi 2024-08-14 10:22:17 +08:00
parent aee672b8bb
commit 27a5288596

View file

@ -57,7 +57,7 @@ class TeamLeader(RoleZero):
async def _quick_think(self) -> Message:
self.llm.system_prompt = QUICK_THINK_SYSTEM_PROMPT.format(
role_info=self._get_role_info(),
role_info=super()._get_prefix(),
team_info=self._get_team_info(),
)
return await super()._quick_think()