Skip to content

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

refactor: brain memory

莘权 马2c3ab2fae4be
diff --git a/metagpt/provider/metagpt_llm_api.py b/metagpt/provider/metagpt_llm_api.py
index 95514cf53..7e79f0ae5 100644
--- a/metagpt/provider/metagpt_llm_api.py
+++ b/metagpt/provider/metagpt_llm_api.py
@@ -14,15 +14,3 @@ class MetaGPTLLMAPI(OpenAIGPTAPI):
def __init__(self):
super().__init__()
-
- async def get_summary(self, memory, max_words=200, keep_language: bool = False, **kwargs) -> str:
- """
- Return string in the following format:
- [
- {"role": "system", "content": "You are a helpful assistant."},
- {"role": "user", "content": "Knock knock."},
- {"role": "assistant", "content": "Who's there?"},
- {"role": "user", "content": "Orange."},
- ]
- """
- return memory.dumps_raw_messages(max_length=max_words)