mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 10:26:32 +02:00
allow immediate deploy after software sop; fix TL to PM msg info loss
This commit is contained in:
parent
cb6484d01d
commit
819c00a55a
5 changed files with 18 additions and 22 deletions
|
|
@ -15,8 +15,8 @@ class SimpleExpRetriever(ExpRetriever):
|
|||
|
||||
EXAMPLE: str = """
|
||||
## example 1
|
||||
User Requirement: Create a cli snake game
|
||||
Explanation: The requirement is about software development. Assign each tasks to a different team member based on their expertise.
|
||||
User Requirement: Create a cli snake game using Python.
|
||||
Explanation: The requirement is about software development. Assign each tasks to a different team member based on their expertise. When publishing message to Product Manager, we copy original user requirement directly to ensure no information loss.
|
||||
```json
|
||||
[
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@ class SimpleExpRetriever(ExpRetriever):
|
|||
"args": {
|
||||
"task_id": "1",
|
||||
"dependent_task_ids": [],
|
||||
"instruction": "Create a product requirement document (PRD) outlining the features, user interface, and user experience of the CLI snake game.",
|
||||
"instruction": "Create a product requirement document (PRD) outlining the features, user interface, and user experience of the CLI python snake game.",
|
||||
"assignee": "Alice"
|
||||
}
|
||||
},
|
||||
|
|
@ -67,7 +67,7 @@ class SimpleExpRetriever(ExpRetriever):
|
|||
{
|
||||
"command_name": "publish_message",
|
||||
"args": {
|
||||
"content": "User request to create a cli snake game. Please create a product requirement document (PRD) outlining the features, user interface, and user experience of the snake game.",
|
||||
"content": "Create a cli snake game using Python",
|
||||
"send_to": "Alice"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class Command(Enum):
|
|||
PUBLISH_MESSAGE = CommandDef(
|
||||
name="publish_message",
|
||||
signature="publish_message(content: str, send_to: str)",
|
||||
desc="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 from original content to team members because you are their sole info source.",
|
||||
desc="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.",
|
||||
)
|
||||
REPLY_TO_HUMAN = CommandDef(
|
||||
name="reply_to_human",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue