Action developer add chest_memory & .run test pass

This commit is contained in:
yuymf 2023-09-28 21:09:13 +08:00
parent 3a705a0e89
commit 73cd368828
8 changed files with 84 additions and 49 deletions

View file

@ -13,7 +13,8 @@ from metagpt.minecraft_team import MinecraftPlayer
async def learn(task="Start", investment: float = 50.0, n_round: int = 3):
mc_player = MinecraftPlayer()
mc_player.set_port(2253) # Modify this to your LAN port
mc_player.set_port(1077) # Modify this to your Minecraft LAN port
# mc_player.set_resume(True) # If load json from ckpt dir(include chest_memory, skills, ...)
mc_player.hire(
[
CurriculumDesigner(),