This commit is contained in:
better629 2023-12-20 14:33:13 +08:00
commit 17087533bb
6 changed files with 2 additions and 6 deletions

View file

@ -25,7 +25,6 @@ from metagpt.utils.git_repository import GitRepository
class PrepareDocuments(Action):
"""PrepareDocuments Action: initialize project folder and add new requirements to docs/requirements.txt."""
name: str = "PrepareDocuments"
context: Optional[str] = None
llm: BaseGPTAPI = Field(default_factory=LLM)

View file

@ -22,7 +22,6 @@ class LongTermMemory(Memory):
- recover memory when it staruped
- update memory when it changed
"""
memory_storage: MemoryStorage = Field(default_factory=MemoryStorage)
rc: Optional["RoleContext"] = None
msg_from_recover: bool = False

View file

@ -22,7 +22,6 @@ class Architect(Role):
goal (str): Primary goal or responsibility of the architect.
constraints (str): Constraints or guidelines for the architect.
"""
name: str = Field(default="Bob")
profile: str = Field(default="Architect")
goal: str = Field(default="design a concise, usable, complete software system")

View file

@ -27,7 +27,6 @@ from typing import Iterable, Set, Type, Any
from pydantic import BaseModel, Field
from metagpt.actions.action import Action, ActionOutput, action_subclass_registry
from metagpt.actions.action_node import ActionNode
from metagpt.actions.add_requirement import UserRequirement

View file

@ -3,6 +3,7 @@
import asyncio
import typer
from pathlib import Path
from metagpt.config import CONFIG
@ -27,7 +28,7 @@ def startup(
default="", help="Specify the source file name for rewriting the quality assurance code."
),
max_auto_summarize_code: int = typer.Option(
default=-1,
default=0,
help="The maximum number of times the 'SummarizeCode' action is automatically invoked, with -1 indicating "
"unlimited. This parameter is used for debugging the workflow.",
),

View file

@ -5,7 +5,6 @@
import copy
import pickle
from metagpt.utils.common import import_class
from metagpt.actions.action_node import ActionNode
from metagpt.schema import Message