MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.53k stars 512 forks source link

How to use proxy for testing this code? #49

Closed go-maple closed 1 year ago

go-maple commented 1 year ago

I have to use the vpn for testing this code. When I open vpn for test.

I try to use this code: """ voyager = Voyager( azure_login=azure_login, skill_manager_retrieval_top_k=0, max_iterations=200, resume=True, ckpt_dir="./checkpoints/ckpt", openai_api_key=openai_api_key, )

voyager.learn() """

image image image

always have many errors. I need help!!!

xieleo5 commented 1 year ago

Hi, I think the proxy is not a problem. Can you share your Mineflayer log here? It's under logs/mineflayer.

go-maple commented 1 year ago

@xieleo5 please analyze this log. tks 20230531_143639.log.zip I have no idea about this.I only know It looks like a node server to support communication with Game client. and provide to create a bot in game, add a lot of abilities like "pathfinder","tool" and "collectBlock" etc.

I try to remove the node_modules and "npm install" again

image

the same problem in log. 20230531_150548.log.zip

xieleo5 commented 1 year ago

Hi, I found that you have 2023-05-31 14:38:17,620 - mineflayer - INFO - Prismarine viewer web server running on *:3001 this line in your log. Did you try to add Prismarine viewer yourself?

go-maple commented 1 year ago

I'm so sorry,I add the Prismarine viewer code for bot view. but I don't know which port I can choose,so I change the port to 3001.Can you give me a tips about the bot view?

image

I changed the port from 3001 to 3000.


I have removed the code about Prismarine viewer. there is another error.

image

20230531_155437.log.zip

I try it again. throw the error.

20230531_182431.log.zip

go-maple commented 1 year ago

I don't why always throw this error.