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

API Key Problem #30

Open
agniiva opened this issue May 6, 2024 · 1 comment
Open

API Key Problem #30

agniiva opened this issue May 6, 2024 · 1 comment

Comments

@agniiva
Copy link

agniiva commented May 6, 2024

⠋ Please enter an Anthropic API key.
(You can leave this blank if it's already in the ENV variable.): Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted
at Anthropic.validateHeaders (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/@anthropic-ai/sdk/index.mjs:65:15)
at Anthropic.buildHeaders (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/@anthropic-ai/sdk/core.mjs:235:14)
at Anthropic.buildRequest (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/@anthropic-ai/sdk/core.mjs:211:33)
at Anthropic.makeRequest (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/@anthropic-ai/sdk/core.mjs:267:44)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runClaudeInference (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/lumentis/dist/app.js:93:2013)
at async validate (file:///Users/agniiiva/.npm/_npx/50847d26148f9860/node_modules/lumentis/dist/app.js:203:97)

@hrishioa
Copy link
Owner

Did you end up adding the API key to the environment? Can you add more info about your environment/OS/etc?

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

2 participants