Update prompt and fix up some bug

This commit is contained in:
mannaandpoem 2024-01-04 10:41:36 +08:00
parent 0168c99323
commit e3cd1a2cc1
9 changed files with 35 additions and 60 deletions

View file

@ -425,7 +425,7 @@ class WriteCodeGuideline(Action):
async def main():
write_code_guideline = WriteCodeGuideline()
node = await write_code_guideline.run(CODE_GUIDELINE_CONTEXT_EXAMPLE)
guideline = node.instruct_content.json(ensure_ascii=False)
guideline = node.instruct_content.model_dump_json()
print(guideline)

View file

@ -214,7 +214,7 @@ Based on New Requirements, output a New PRD that seamlessly integrates both the
"""
REFINE_PRD_TEMPLATE = """
### New Project Name
### Project Name
{project_name}
### New Requirements