ezetech / anthropic-gui

A user-friendly, feature-rich UI enhancing interaction with Anthropic's Claude AI, enabling model selection, chat saving, and improved prompt editing.
87 stars 22 forks source link

Invalid API Key #85

Open Montana opened 9 months ago

Montana commented 9 months ago

I've generated an Anthropic API key, but get "invalid API key". Is there any fix for this currently? It looks like the issue here is that the API key being passed in the request headers is invalid:

headers: {
  'x-api-key': apiKey, 
}

Cheers, Montana

aallsbury commented 8 months ago

same issue here, generated 3 different codes, all invalid according to this app. I even tried removing some of the leading characters like sk-, etc. Still no dice. I am using the windows exe, I guess I will try git/clone via WSL2 next..

chriscousin commented 8 months ago

Same problem here : +1. Thanks for replying. Chris

SheMelody commented 7 months ago

I can reproduce.

I think this project is abandoned.

mararn1618 commented 7 months ago

Same here :°(

mindplay-dk commented 4 months ago

I wonder if this user was trying to fix that?

https://github.com/liemeldert/anthropic-gui/commit/c392f99fc056f0ffdfddcd03a03dcf8b641a4d99

There's no commit message explaining why they made that change, but the current API documentation says you "must" include the API version in every request:

https://docs.anthropic.com/en/api/versioning

lolrip commented 1 month ago

I fixed the Invalid API key issue and updated the models list but I can't get it to return any prompts back yet. I didn't realize this would be a huge overhaul but I will try to work on it. Here is how far I got:

https://github.com/lolrip/anthropic-gui