rm incorrect comment

This commit is contained in:
femto 2023-09-10 12:58:50 +08:00
parent 3be5980214
commit 0086e0c25c

View file

@ -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)