mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-17 15:35:21 +02:00
minor updates
This commit is contained in:
parent
93663784ab
commit
5fc711ae82
5 changed files with 19 additions and 23 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue