mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
rebase on #589
This commit is contained in:
commit
17087533bb
6 changed files with 2 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.",
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue