mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-17 15:35:21 +02:00
Action developer add chest_memory & .run test pass
This commit is contained in:
parent
3a705a0e89
commit
73cd368828
8 changed files with 84 additions and 49 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue