mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
rm incorrect comment
This commit is contained in:
parent
3be5980214
commit
0086e0c25c
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ class WriteDesign(Action):
|
|||
async def run(self, context):
|
||||
if isinstance(context, ActionOutput):
|
||||
prompt = PROMPT_TEMPLATE.format(context=context.content, format_example=FORMAT_EXAMPLE)
|
||||
else: # context is a string
|
||||
else:
|
||||
prompt = PROMPT_TEMPLATE.format(context=context, format_example=FORMAT_EXAMPLE)
|
||||
# system_design = await self._aask(prompt)
|
||||
system_design = await self._aask_json_v1(prompt, "system_design", OUTPUT_MAPPING)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue