This repository was archived by the owner on Jun 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 577
Issue with Models #142
Copy link
Copy link
Open
Description
I am putting correct API_KEY in .env still getting this error
I tried with all models and got same error
character: "Eliza"
modelProvider: "openai"
characterModelProvider: "openai"
[2025-02-21 22:16:38] INFO: Eliza(b850bc30-45f8-0041-a00a-83df46d8555d) - Setting Model Provider:
characterModelProvider: "openai"
optsModelProvider: "openai"
finalSelection: "openai"
[2025-02-21 22:16:38] INFO: Eliza(b850bc30-45f8-0041-a00a-83df46d8555d) - Selected model provider: openai
[2025-02-21 22:16:38] INFO: Eliza(b850bc30-45f8-0041-a00a-83df46d8555d) - Selected image model provider: openai
[2025-02-21 22:16:38] INFO: Eliza(b850bc30-45f8-0041-a00a-83df46d8555d) - Selected image vision model provider: openai
[2025-02-21 22:16:38] INFO: Initializing LlamaService...
You: Hi
[2025-02-21 22:16:50] ERROR: API Response: {
"error": {
"message": "You do not have access to the organization tied to the API key.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_organization"
}
}
[2025-02-21 22:16:50] ERROR: Full error details:
[2025-02-21 22:16:50] ERROR: Failed to generate embedding:
[2025-02-21 22:16:50] ERROR: API Response: {
"error": {
"message": "You do not have access to the organization tied to the API key.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_organization"
}
}
[2025-02-21 22:16:50] ERROR: Full error details:
file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+core@0.1.9_@google_3148df7f60711e0fb759cfeb471ef142/node_modules/@elizaos/core/dist/index.js:2528
throw new Error(
^
Error: Embedding API Error: 401 Unauthorized
at getRemoteEmbedding (file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+core@0.1.9_@google_3148df7f60711e0fb759cfeb471ef142/node_modules/@elizaos/core/dist/index.js:2528:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async embed (file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+core@0.1.9_@google_3148df7f60711e0fb759cfeb471ef142/node_modules/@elizaos/core/dist/index.js:2588:12)
at async Object.get (file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+core@0.1.9_@google_3148df7f60711e0fb759cfeb471ef142/node_modules/@elizaos/core/dist/index.js:38415:21)
at async AgentRuntime.composeState (file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+core@0.1.9_@google_3148df7f60711e0fb759cfeb471ef142/node_modules/@elizaos/core/dist/index.js:39962:23)
at async file:///D:/2025-Projects/eliza-agent-mental-heath/node_modules/.pnpm/@elizaos+client-direct@0.1._dbe95607ecaf9e962dd082a9582c1142/node_modules/@elizaos/client-direct/dist/index.js:4626:21
Node.js v22.12.0
ELIFECYCLE Command failed with exit code 1.```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels