mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-14 16:32:16 +02:00
Update prompt and fix up some bug
This commit is contained in:
parent
0168c99323
commit
e3cd1a2cc1
9 changed files with 35 additions and 60 deletions
|
|
@ -346,7 +346,7 @@ class Engineer(Role):
|
|||
|
||||
context = CODE_GUIDELINE_CONTEXT.format(requirement=requirement, tasks=tasks, design=design, code=old_codes)
|
||||
node = await WriteCodeGuideline().run(context=context)
|
||||
guideline = node.instruct_content.json(ensure_ascii=False)
|
||||
guideline = node.instruct_content.model_dump_json()
|
||||
return guideline
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue