mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fix typo
This commit is contained in:
parent
3598c5c3a6
commit
722bb7282e
3 changed files with 3 additions and 7 deletions
|
|
@ -125,7 +125,7 @@ ASK_HUMAN_COMMAND = """
|
|||
{
|
||||
"command_name": "RoleZero.ask_human",
|
||||
"args": {
|
||||
"question": "I'm a little uncertain about the next step, could you provide me with some guidance?"
|
||||
"question": "I'm a little uncertain about the next step, could you provide me with some guidance? If want to stop, please contain \"<STOP>\" in your response."
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -227,7 +227,7 @@ Thought: The request is vague and lacks specifics, requiring clarification on th
|
|||
Response Category: AMBIGUOUS.
|
||||
|
||||
9. Request: "Change the color of the text to blue in styles.css, add a new button in web page, delete the old background image."
|
||||
Thought: The request is a incremental development task needing to modify a file.
|
||||
Thought: The request is an incremental development task that requires modifying one or more files.
|
||||
Response Category: TASK.
|
||||
"""
|
||||
QUICK_RESPONSE_SYSTEM_PROMPT = """
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ Note:
|
|||
13. Instructions and reply must be in the same language.
|
||||
14. Default technology stack is HTML (.html), CSS (.css), and Pure JavaScript (.js). Web app is the default option when developing software.
|
||||
15. You are the only one who decides the programming language for the software, so the instruction must contain the programming language.
|
||||
16. Data Collection and Web/Software Devlopment is two tasks. You must assign these tasks to Data Analysis and Engineer Separately. You muat wait for Data Collection to finish before starting coding.
|
||||
16. Data collection and web/software development are two separate tasks. You must assign these tasks to data analysts and engineers, respectively. Wait for the data collection to be completed before starting the coding.
|
||||
"""
|
||||
TL_THOUGHT_GUIDANCE = (
|
||||
THOUGHT_GUIDANCE
|
||||
|
|
|
|||
|
|
@ -74,11 +74,7 @@ class TeamLeader(RoleZero):
|
|||
Publish a message to a team member, use member name to fill send_to args. You may copy the full original content or add additional information from upstream. This will make team members start their work.
|
||||
DONT omit any necessary info such as path, link, environment, programming language, framework, requirement, constraint from original content to team members because you are their sole info source.
|
||||
"""
|
||||
if self.rc.todo is None:
|
||||
# Teamleader have send message to ask a teammember to do something in this turn, the following message will not be sent to team member
|
||||
return "This message will not be sent to team leader, you have already sent a message to a team member in this turn."
|
||||
self._set_state(-1) # each time publishing a message, pause to wait for the response
|
||||
|
||||
if send_to == self.name:
|
||||
return # Avoid sending message to self
|
||||
# Specify the outer send_to to overwrite the default "no one" value. Use UserMessage because message from self is like a user request for others.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue