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

How to start AI with ollama #320

Open
Wav3lonNights opened this issue Nov 13, 2024 · 2 comments
Open

How to start AI with ollama #320

Wav3lonNights opened this issue Nov 13, 2024 · 2 comments

Comments

@Wav3lonNights
Copy link

Failed to start agent process: {
message: 'Failed to initialize agent components: API key "QWEN_API_KEY" not found in keys.json or environment variables!',
stack: 'Error: Failed to initialize agent components: API key "QWEN_API_KEY" not found in keys.json or environment variables!\n' +
' at Agent.start (file:///C:/Users/wav3lon/Desktop/mindcraft-main/src/agent/agent.js:43:23)\n' +
' at file:///C:/Users/wav3lon/Desktop/mindcraft-main/src/process/init-agent.js:48:21\n' +
' at file:///C:/Users/wav3lon/Desktop/mindcraft-main/src/process/init-agent.js:57:3\n' +
' at ModuleJob.run (node:internal/modules/esm/module_job:268:25)\n' +
' at async onImport.tracePromise.proto (node:internal/modules/esm/loader:543:26)\n' +
' at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)',
error: {}
}
Agent process exited with code 1 and signal null

@koolara
Copy link

koolara commented Nov 13, 2024

you`re using llm with "qwen"-naming in it, so it digging for qwen api

@Shroototem
Copy link

Shroototem commented Nov 17, 2024

Make sure you have your profile setup correctly with the api and model names.
ex.

    "model": {
        "api": "ollama",
        "model": "llama3.2"
    }

Please make sure to close the issue if this fixes it. ❤️

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