vscode-ui-sketcher icon indicating copy to clipboard operation
vscode-ui-sketcher copied to clipboard

Add support for Project API Keys (sk-proj-)

Open ThatGuySam opened this issue 1 year ago • 0 comments

OpenAI recently rolled out per project API keys with the following format:

sk-proj-abcdefghijklmnopqrstuvwxyz1234567890abcdef

Although this article doesn't seem to mention this specific format change you can read about it here: https://help.openai.com/en/articles/9186755-managing-your-work-in-the-api-platform-with-projects

You might be able to create a your own Project API key to verify here: https://platform.openai.com/api-keys

The current Regex pattern for API Keys only supports the classic keys

sk-abcdefghijklmnopqrstuvwxyz1234567890abcdef

ThatGuySam avatar May 06 '24 15:05 ThatGuySam