hrishioa / lumentis

AI powered one-click comprehensive docs from transcripts and text.
Other
1.53k stars 97 forks source link

API Key Problem #30

Open agniiva opened 4 months ago

agniiva commented 4 months ago

⠋ 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 commented 4 months ago

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