This commit is contained in:
seehi 2024-05-06 11:25:52 +08:00
parent 14d88cc712
commit 52e240532d
4 changed files with 2 additions and 3 deletions

View file

@ -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.

View file

@ -14,6 +14,6 @@ class RoleCustomConfig(YamlModel):
role: role's className or role's role_id
To be expanded
"""
role: str = ""
llm: LLMConfig

View file

@ -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

View file

@ -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)