mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 01:36:29 +02:00
Merge branch 'fix_code_timeout' into 'code_intepreter'
fix timeout See merge request agents/data_agents_opt!46
This commit is contained in:
commit
7f0c752f8d
2 changed files with 10 additions and 2 deletions
|
|
@ -96,4 +96,4 @@ async def test_run_with_timeout():
|
|||
code = "import time; time.sleep(2)"
|
||||
message, success = await pi.run(code)
|
||||
assert not success
|
||||
assert message == "TimeoutError"
|
||||
assert message.startswith("Cell execution timed out")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue