kolbytn / mindcraft

MIT License
2.29k stars 277 forks source link

Bot is shutting down on start #345

Open LeonBoettcher opened 2 hours ago

LeonBoettcher commented 2 hours ago

C:\Users\leonm\Downloads\mindcraft-main\mindcraft-main>node main.js [ './andy.json' ] Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using chat settings: { model: 'gpt-4o-mini', api: 'openai' } Using embedding settings: { api: 'openai' } Initializing history... Initializing coder... Initializing npc controller... Initializing memory bank... Initializing self prompter... Initializing examples... Error with embedding model, using word overlap instead. Error with embedding model, using word overlap instead. Logging into minecraft... { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Bot encountered error: { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Failed to start agent process: { message: 'read ECONNRESET', stack: 'Error: read ECONNRESET\n' + ' at TCP.onStreamRead (node:internal/stream_base_commons:217:20)', error: { errno: -4077, code: 'ECONNRESET', syscall: 'read' } } Agent process exited with code 1 and signal null Agent process ./andy.json exited too quickly and will not be restarted. All agent processes have ended. Exiting.

System Stats:

Windows 11 10.0.22631 Build 22631 Node v20.11.1 npm v10.5.0

LeonBoettcher commented 2 hours ago

Fixed it wrong MC verson set

-> add a error code for wrong mc Version