mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

Help me

Open Damir038 opened this issue 8 months ago • 3 comments

C:\Users\mmmda\Downloads\mindcraft-main>node main.js [ './andy.json' ] MindServer running on port 8080 Client connected Registering agents: andy Agents registered Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using embedding settings: { api: 'google' } 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. Error with embedding model, using word-overlap instead. Examples initialized. Initializing task... andy logging into minecraft... { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Client connected Connected to MindServer Client disconnected Agent process exited with code 0 and signal null

Damir038 avatar Apr 13 '25 22:04 Damir038

When i want install npm i see this: C:\Users\mmmda\Downloads\mindcraft-main>npm install

postinstall patch-package

patch-package 8.0.0 Applying patches... @google/[email protected][email protected][email protected][email protected][email protected]

Warning: patch-package detected a patch file version mismatch

Don't worry! This is probably fine. The patch was still applied successfully. Here's the deets:

Patch file created for

[email protected]

applied to

[email protected]

At path

node_modules/mineflayer

This warning is just to give you a heads-up. There is a small chance of breakage even though the patch was applied successfully. Make sure the package still behaves like you expect (you wrote tests, right?) and then run

patch-package mineflayer

to update the version in the patch file name and make this warning go away.


patch-package finished with 1 warning(s).

up to date, audited 529 packages in 55s

91 packages are looking for funding run npm fund for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

C:\Users\mmmda\Downloads\mindcraft-main>

Damir038 avatar Apr 13 '25 22:04 Damir038

mabe u can change andy.json like this:

{
    "name": "andy",

    "model": "gpt-4o-mini",
    
    "embedding": "openai"

}

Ninot1Quyi avatar Apr 14 '25 14:04 Ninot1Quyi

@Damir038 Make sure your Minecraft version matches what you have in settings.js file. I had a similar error because my Minecraft was too new, I've installed 1.21.1 and it started working.

maciej-trebacz avatar Apr 16 '25 12:04 maciej-trebacz

I am getting the following error, what is the solution?

PS D:\mindcraft-main> node main.js MindServer running on port 8080 Connecting to MindServer Client connected andy connected to MindServer Starting agent Using embedding settings: { api: 'openai' } Initializing agent andy... Error with embedding model, using word-overlap instead. Error with embedding model, using word-overlap instead. Error with embedding model, using word-overlap instead. Examples initialized. No task. andy logging into minecraft... andy logged in! andy updating available agents Initializing vision intepreter... andy spawned. received message from system : Respond with hello world and your name Saved memory to: ./bots/andy/memory.json selected examples: Example: You are self-prompting with the goal: 'Build a house'. Respond: Example: trade something with zorro_34 Awaiting openai api response from model gpt-4o-mini RateLimitError: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. at APIError.generate (file:///D:/mindcraft-main/node_modules/openai/error.mjs:59:20) at OpenAI.makeStatusError (file:///D:/mindcraft-main/node_modules/openai/core.mjs:295:25) at OpenAI.makeRequest (file:///D:/mindcraft-main/node_modules/openai/core.mjs:339:30) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async GPT.sendRequest (file:///D:/mindcraft-main/src/models/gpt.js:40:30) at async Prompter.promptConvo (file:///D:/mindcraft-main/src/models/prompter.js:346:30) at async Agent.handleMessage (file:///D:/mindcraft-main/src/agent/agent.js:282:23) at async Agent._setupEventHandlers (file:///D:/mindcraft-main/src/agent/agent.js:176:13) { status: 429, headers: { 'alt-svc': 'h3=":443"; ma=86400', 'cf-cache-status': 'DYNAMIC', 'cf-ray': '96043eb7d86ddbbd-FRA', connection: 'keep-alive', 'content-length': '337', 'content-type': 'application/json; charset=utf-8', date: 'Wed, 16 Jul 2025 20:28:16 GMT', server: 'cloudflare', 'set-cookie': '__cf_bm=tWbNLCehmlvalDaoPIpFWYh2nF3enhTCSz5CYA3Kj0A-1752697696-1.0.1.1-hnNwxF6koFqCZTr3xNHY6Y.Ax4iPzy_jg3b_hKy_YkpSZSSRtIEfE3KUDNFoKgESo4gcCMyVVqJLtKWDqCpc5_zkLFlB_22ONW6r13OzISs; path=/; expires=Wed, 16-Jul-25 20:58:16 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=MIJPDzhAFl4thrcKNkzXobUXINiU79DYzk6.YqIzZlE-1752697696134-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', vary: 'Origin', 'x-content-type-options': 'nosniff', 'x-request-id': 'req_79eb29620047bbbf793ea54a9682f557' }, request_id: 'req_79eb29620047bbbf793ea54a9682f557', error: { message: 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', type: 'insufficient_quota', param: null, code: 'insufficient_quota' }, code: 'insufficient_quota', param: null, type: 'insufficient_quota' } Generated response: My brain disconnected, try again. andy full response to system: ""My brain disconnected, try again.""

????

alpertunga333 avatar Jul 16 '25 20:07 alpertunga333

I am getting the following error, what is the solution?

[...]

????

Insufficient quota error. Since you're using OpenAI, you need to top up balance. Or, you could use a free API.

uukelele-scratch avatar Sep 23 '25 09:09 uukelele-scratch

C:\Users\mmmda\Downloads\mindcraft-main>node main.js [ './andy.json' ] MindServer running on port 8080 Client connected Registering agents: andy Agents registered Starting agent with profile: ./andy.json Starting agent initialization with profile: ./andy.json Initializing action manager... Initializing prompter... Using embedding settings: { api: 'google' } 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. Error with embedding model, using word-overlap instead. Examples initialized. Initializing task... andy logging into minecraft... { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Client connected Connected to MindServer Client disconnected Agent process exited with code 0 and signal null

Make sure Minecraft is open locally at port 55916.

uukelele-scratch avatar Sep 23 '25 09:09 uukelele-scratch