Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can`t start bot #339

Open
kasyanko opened this issue Nov 21, 2024 · 4 comments
Open

i can`t start bot #339

kasyanko opened this issue Nov 21, 2024 · 4 comments

Comments

@kasyanko
Copy link

node main.js
[ './andy.json' ]
SES_UNCAUGHT_EXCEPTION: {}
Agent process exited with code 4294967295 and signal null
Agent process ./andy.json exited too quickly and will not be restarted.
All agent processes have ended. Exiting.

@hackdefendr
Copy link
Contributor

What version of NodeJS are you using? Which OS? Needs more info.

@Tascok
Copy link

Tascok commented Nov 23, 2024

I have the same problem, I'm using Ubuntu, and the latest js

@Tascok
Copy link

Tascok commented Nov 23, 2024

image

@hackdefendr
Copy link
Contributor

You may have to create a specific API key for OpenAI and assign it to the models you want to use. Simply using the default settings in andy.json probably won't work out of box. See below, I configured my API key to use chatgpt-4o-latest instead of the default.

My system:

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble

The bot:

~/devel/mindcraft$ 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: 'chatgpt-4o-latest', 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...
Loaded memory: Base: forest biome (2320.7, -51, 1441.3); current savanna. Goals: survival, upgrade tools, efficient crafting. ClearLag affects items. Issues: crafting command error ('Player not found') persists; retry fixes or !restart. Task: gather table materials, make wooden pickaxe, mine stone. Nearby: stone, dirt, ores, etc. Attempted incorrect !mine command; corrected to !collectBlocks. Focus: adapt commands, resolve glitches, optimize tasks. Use !rememberHere for key spots.
Logged in!
Prismarine viewer web server running on *:3000

Let's start with the whole log to see if something else is happening above what your screenshot shows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants