Closed ChunjiangMonkey closed 4 months ago
I have solved this problem. The reason is that I used outdated version of mineflayer. In addition, I would like to remind everyone that Voyager may encounter the problem of skill not being able to write to the database on Windows. The solution is to upgrade the version of chromadb.
which version of cormadb did you upgrade? @ChunjiangMonkey
which version of cormadb did you upgrade? @ChunjiangMonkey
I'm sorry I just saw your message. In fact, I simply upgraded chromadb to the latest version at that time. The latest version at that time was 0.5.3
Thank you so much for telling~!!
Before submitting an issue, make sure you read the FAQ.md
Yes.
Briefly describe your issue
I am very excited to run voyager on my MacBook Pro. My robot can collect logs, however it can't make anything, just like planks. looked at the code and found that when the Voyager runs craftItem.js, it gets stuck in the
await bot.craft (recipe, count, craftingTable)
.Please provide your python, nodejs, Minecraft, and Fabric versions here
python 3.9, node 20.14.0, Minecraft 1.19, Fabric 0.14.18.
[If applicable] Please provide the Minefalyer and Minecraft logs, you can find the log under
logs
folder...
[If applicable] Please provide the GPT conversations that are printed each round.
This is the responses of GPT4, who privode the code for voyager to craft planks. Action Agent ai message Explain: The bot already has 6 oak logs in its inventory. It can craft these into planks, and then use the planks to craft a crafting table, which use
craftItem()
.Plan: 1) Check if the bot has a crafting table in its inventory. If it does, the task is already complete. 2) If the bot does not have a crafting table, check if it has 4 wooden planks in its inventory. 3) If the bot does not have 4 wooden planks, craft them from the oak logs in its inventory. 4) Once the bot has 4 wooden planks, craft a crafting table.
Code: