🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
Merge branch 'fixbug/plan' of https://gitlab.deepwisdomai.com/pub/MetaGPT into fixbug/plan
stellahsr90c1d7c35e50
diff --cc metagpt/actions/di/detect_intent.pyindex d7187c4f3,d9b587e5c..79d49b285--- a/metagpt/actions/di/detect_intent.py+++ b/metagpt/actions/di/detect_intent.py@@@ -97,13 -97,8 +97,11 @@@ REQ_WITH_SOP = ""To meet user requirements, the following standard operating procedure(SOP) must be used:{sop}--"""+### SOP Type+# {sop_type}+class DetectIntent(Action):async def run(self, with_message: Message, **kwargs) -> Tuple[str, str]:diff --cc metagpt/actions/di/write_plan.pyindex 201280d9b,bc4fb4e71..04aed7e17--- a/metagpt/actions/di/write_plan.py+++ b/metagpt/actions/di/write_plan.py@@@ -29,15 -29,15 +29,15 @@@ If you are modifying an existing plan,If you encounter errors on the current task, revise and output the current single task only.Output a list of jsons following the format:```json-[- {{- "task_id": str = "unique identifier for a task in plan, can be an ordinal",- "dependent_task_ids": list[str] = "ids of tasks prerequisite to this task",- "instruction": "what you should do in this task, one short phrase or sentence.",- "task_type": "type of this task, should be one of Available Task Types.",- }},- ...-]+ [+ {{+ "task_id": str = "unique identifier for a task in plan, can be an ordinal",+ "dependent_task_ids": list[str] = "ids of tasks prerequisite to this task",- "instruction": "what you should do in this task, one short phrase or sentence",- "task_type": "type of this task, should be one of Available Task Types",++ "instruction": "what you should do in this task, one short phrase or sentence.",++ "task_type": "type of this task, should be one of Available Task Types.",+ }},+ ...+ ]```"""