minor updates

This commit is contained in:
yzlin 2024-03-13 16:50:19 +08:00
parent 93663784ab
commit 5fc711ae82
5 changed files with 19 additions and 23 deletions

View file

@ -22,6 +22,7 @@ async def test_interpreter(mocker, auto_run):
assert len(finished_tasks[0].code) > 0 # check one task to see if code is recorded
@pytest.mark.asyncio
async def test_interpreter_react_mode(mocker):
mocker.patch("metagpt.actions.di.execute_nb_code.ExecuteNbCode.run", return_value=("a successful run", True))
mocker.patch("builtins.input", return_value="confirm")

View file

@ -45,7 +45,6 @@ class DummyClass:
pass
# def dummy_fn(df: pd.DataFrame, s: str, k: int = 5, type: Literal["a", "b", "c"] = "a") -> dict:
def dummy_fn(
df: pd.DataFrame,
s: str,