mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
Remove TL's quick think system prompt
This commit is contained in:
parent
0315a218be
commit
3b7dbf5e4e
2 changed files with 0 additions and 11 deletions
|
|
@ -35,12 +35,6 @@ Sixth, describe the requirements as they pertain to software development, data a
|
|||
Seventh, describe the technologies you must use.
|
||||
"""
|
||||
)
|
||||
QUICK_THINK_SYSTEM_PROMPT = """
|
||||
{role_info}
|
||||
Your team member:
|
||||
{team_info}
|
||||
However, you MUST respond to the user message by yourself directly, DON'T ask your team members.
|
||||
"""
|
||||
|
||||
TL_INFO = """
|
||||
{role_info}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ from pydantic import Field
|
|||
from metagpt.actions.di.run_command import RunCommand
|
||||
from metagpt.prompts.di.team_leader import (
|
||||
FINISH_CURRENT_TASK_CMD,
|
||||
QUICK_THINK_SYSTEM_PROMPT,
|
||||
TL_INFO,
|
||||
TL_INSTRUCTION,
|
||||
TL_THOUGHT_GUIDANCE,
|
||||
|
|
@ -55,10 +54,6 @@ class TeamLeader(RoleZero):
|
|||
return TL_INFO.format(role_info=role_info, team_info=team_info)
|
||||
|
||||
async def _quick_think(self) -> Message:
|
||||
self.llm.system_prompt = QUICK_THINK_SYSTEM_PROMPT.format(
|
||||
role_info=super()._get_prefix(),
|
||||
team_info=self._get_team_info(),
|
||||
)
|
||||
return await super()._quick_think()
|
||||
|
||||
async def _think(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue