Skip to content

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

format

seehi52e240532d68
diff --git a/examples/di/run_flask.py b/examples/di/run_flask.py
index ed0f35b8e..ae841a09c 100644
--- a/examples/di/run_flask.py
+++ b/examples/di/run_flask.py
@@ -2,7 +2,6 @@ import asyncio
from metagpt.roles.di.data_interpreter import DataInterpreter
-
USE_GOT_REPO_REQ = """
Write a service using Flask, create a conda environment and run it, and call the service's interface for validation.
Notice: Don't write all codes in one response, each time, just write code for one step.
diff --git a/metagpt/configs/role_custom_config.py b/metagpt/configs/role_custom_config.py
index 414c2a793..581de605e 100644
--- a/metagpt/configs/role_custom_config.py
+++ b/metagpt/configs/role_custom_config.py
@@ -14,6 +14,6 @@ class RoleCustomConfig(YamlModel):
role: role's className or role's role_id
To be expanded
"""
+
role: str = ""
llm: LLMConfig
-
diff --git a/metagpt/logs.py b/metagpt/logs.py
index aea889837..63c10fa2f 100644
--- a/metagpt/logs.py
+++ b/metagpt/logs.py
@@ -139,4 +139,5 @@ def get_llm_stream_queue():
"""
return LLM_STREAM_QUEUE.get(None)
+
_get_human_input = input # get human input from console by default
diff --git a/metagpt/software_company.py b/metagpt/software_company.py
index 78e15ab47..7f0c56388 100644
--- a/metagpt/software_company.py
+++ b/metagpt/software_company.py
@@ -8,7 +8,6 @@ import typer
from metagpt.const import CONFIG_ROOT
from metagpt.utils.common import any_to_str
-from metagpt.utils.project_repo import ProjectRepo
app = typer.Typer(add_completion=False, pretty_exceptions_show_locals=False)