mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
feat: test create project & fix bug
This commit is contained in:
parent
f5b5729867
commit
b70ed4cf0b
4 changed files with 109 additions and 9 deletions
|
|
@ -38,7 +38,7 @@ class SOPItem(BaseModel):
|
|||
|
||||
SOP_CONFIG = [
|
||||
SOPItem(
|
||||
description="Intentions related to or including software development, such as developing or building software, games, programming, app, websites, etc.",
|
||||
description="Intentions related to or including software development, such as developing or building software, games, programming, app, websites, etc. Excluding bug fixes, report any issues.",
|
||||
sop=[
|
||||
"Writes a PRD based on software requirements.",
|
||||
"Writes a design to the project repository, based on the PRD of the project.",
|
||||
|
|
@ -49,7 +49,7 @@ SOP_CONFIG = [
|
|||
],
|
||||
),
|
||||
SOPItem(
|
||||
description="Error message, issues, fix bug",
|
||||
description="Error message, issues, fix bug, exception description",
|
||||
sop=[
|
||||
"Fix bugs in the project repository.",
|
||||
"Stage and commit changes for the project repository using Git.",
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ class DataInterpreter(Role):
|
|||
logger.info(f"ready to {todo.name}")
|
||||
use_reflection = counter > 0 and self.use_reflection # only use reflection after the first trial
|
||||
|
||||
user_requirement = self.get_memories()[0].content
|
||||
user_requirement = self.get_memories()[0].content # issue: 1)多次用户交互时,永远只读用户的第1次request;2)prerequisite没处理
|
||||
|
||||
code = await todo.run(
|
||||
user_requirement=user_requirement,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue