🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
Merge branch 'dev' of https://github.com/geekan/MetaGPT into geekan/dev
莘权 马ef1bc01c99e5
diff --cc metagpt/actions/skill_action.pyindex 21bfc766f,292202294..301cebaab--- a/metagpt/actions/skill_action.py+++ b/metagpt/actions/skill_action.py@@@ -14,12 -14,12 +14,13 @@@ import tracebacfrom copy import deepcopyfrom typing import Dict, Optional-from metagpt.actions import Action, ActionOutput+from metagpt.actions import Actionfrom metagpt.learn.skill_loader import Skillfrom metagpt.logs import logger+from metagpt.schema import Message+ # TOTESTclass ArgumentsParingAction(Action):skill: Skillask: strdiff --cc metagpt/actions/talk_action.pyindex 3d8fdffc7,1c22e86de..dc127109c--- a/metagpt/actions/talk_action.py+++ b/metagpt/actions/talk_action.py@@@ -6,20 -6,27 +6,21 @@@@File : talk_action.py@Desc : Act as it’s a talk"""-import json+from typing import Optional-from metagpt.actions import Action, ActionOutput+from metagpt.actions import Actionfrom metagpt.config import CONFIGfrom metagpt.const import DEFAULT_LANGUAGE-from metagpt.llm import LLMTypefrom metagpt.logs import logger+from metagpt.schema import Message+ # TOTESTclass TalkAction(Action):- def __init__(self, name: str = "", talk="", history_summary="", knowledge="", context=None, llm=None, **kwargs):- context = context or {}- context["talk"] = talk- context["history_summery"] = history_summary- context["knowledge"] = knowledge- super(TalkAction, self).__init__(name=name, context=context, llm=llm)- self._talk = talk- self._history_summary = history_summary- self._knowledge = knowledge- self._rsp = None+ context: str+ history_summary: str = ""+ knowledge: str = ""+ rsp: Optional[Message] = None@propertydef prompt(self):