Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

changed {tasks} to {task} in PROMPT_TEMPLATE

mannaandpoem02b4608f8408
diff --git a/metagpt/actions/summarize_code.py b/metagpt/actions/summarize_code.py
index 2b5546546..644d5d6a9 100644
--- a/metagpt/actions/summarize_code.py
+++ b/metagpt/actions/summarize_code.py
@@ -28,7 +28,7 @@ ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenc
-----
# Tasks
```text
-{tasks}
+{task}
```
-----
{code_blocks}
diff --git a/metagpt/actions/write_code.py b/metagpt/actions/write_code.py
index fcadd5f72..7f5dae414 100644
--- a/metagpt/actions/write_code.py
+++ b/metagpt/actions/write_code.py
@@ -44,7 +44,7 @@ ATTENTION: Use '##' to SPLIT SECTIONS, not '#'. Output format carefully referenc
{design}
## Tasks
-{tasks}
+{task}
## Legacy Code
```Code