Voyager icon indicating copy to clipboard operation
Voyager copied to clipboard

How to use proxy for testing this code?

Open go-maple opened this issue 2 years ago • 4 comments

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!!!

go-maple avatar May 31 '23 06:05 go-maple

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

xieleo5 avatar May 31 '23 06:05 xieleo5

@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

go-maple avatar May 31 '23 06:05 go-maple

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?

xieleo5 avatar May 31 '23 07:05 xieleo5

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 avatar May 31 '23 07:05 go-maple

I don't why always throw this error.

go-maple avatar Jun 01 '23 03:06 go-maple