TypeError: Cannot read properties of null (reading 'includes')

#1
by daisy613 - opened

I downloaded the gguf file in LM Studio and I am getting this error when trying to run Mindcraft:

Awaiting local response... (model: MindCraft-LLM-tuning/Andy-v3-llama)
Failed to send Ollama request.
{}
Unhandled Rejection at: {
promise: Object [Promise] {},
reason: {},
stack: "TypeError: Cannot read properties of null (reading 'includes')\n" +
' at Prompter.promptConvo (file:///C:/Users/myname/OneDrive/APPS/mindcraft/src/agent/prompter.js:237:28)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' +
' at async Agent.handleMessage (file:///C:/Users/myname/OneDrive/APPS/mindcraft/src/agent/agent.js:255:23)\n' +
' at async Agent._setupEventHandlers (file:///C:/Users/myname/OneDrive/APPS/mindcraft/src/agent/agent.js:163:13)'
}
SES_UNHANDLED_REJECTION: {}
Client disconnected
Agent process exited with code 1 and signal null
Agent process ./profiles/llama1.json exited too quickly and will not be restarted.

The model isn't named "MindCraft-LLM-tuning/Andy-v3-llama" when you download it, and configure it and it's modelfile, and other junk, it's whatever you named it, when you did ollama create (model name you prefer) -f "your\path\here"

Sign up or log in to comment