Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Merge branch 'main'

zimingc18f38435679
diff --cc metagpt/actions/action.py
index 790295d55,497f243e9..8e1d5c85d
--- a/metagpt/actions/action.py
+++ b/metagpt/actions/action.py
@@@ -12,17 -11,16 +12,17 @@@ from typing import Optiona
from tenacity import retry, stop_after_attempt, wait_fixed
from metagpt.actions.action_output import ActionOutput
-import metagpt.llm as LLM
-from metagpt.utils.common import OutputParser
+from metagpt.llm import LLM
from metagpt.logs import logger
-from metagpt.config import CONFIG
+from metagpt.utils.common import OutputParser
+from metagpt.utils.custom_decoder import CustomDecoder
+
class Action(ABC):
- def __init__(self, name: str = '', context=None, llm: LLM = None):
+ def __init__(self, name: str = "", context=None, llm: LLM = None):
self.name: str = name
if llm is None:
- llm = LLM()
+ llm=LLM.DEFAULT_LLM
self.llm = llm
self.context = context
self.prefix = ""
diff --cc requirements.txt
index de861ded9,f2129b5a7..c2616a08a
--- a/requirements.txt
+++ b/requirements.txt
@@@ -34,12 -34,7 +34,12 @@@ tqdm==4.64.
# selenium>4
# webdriver_manager<3.9
anthropic==0.3.6
- typing-inspect==0.8.0
+ typing-inspect
typing_extensions==4.5.0
-libcst
-qdrant-client==1.4.0
+libcst==1.0.1
+qdrant-client==1.4.0
+pytest-mock==3.11.1
+open-interpreter==0.1.4; python_version>"3.9"
+ta==0.10.2
+semantic-kernel==0.3.10.dev0
+