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

[FEATURE] - Add extended validation of OpenAI ApiKey and OrganizationID #36

Closed
mnikonov opened this issue Jul 3, 2023 · 0 comments · Fixed by #39
Closed

[FEATURE] - Add extended validation of OpenAI ApiKey and OrganizationID #36

mnikonov opened this issue Jul 3, 2023 · 0 comments · Fixed by #39
Assignees
Labels
feature New feature or request

Comments

@mnikonov
Copy link
Owner

mnikonov commented Jul 3, 2023

Description

With in application should be provided a way to validate OpenAI ApiKey and OrganizationID

Solution

  1. To text inputs should be added plece holders in format "Enter key in format sk-***"
  2. Should be added regular expression validation that would check all necessary prefixes and keys length
  3. On attempt to save authorization information app should send OpenAi request that would validate entered credentials and display error message
@mnikonov mnikonov added the feature New feature or request label Jul 3, 2023
@mnikonov mnikonov self-assigned this Jul 3, 2023
@mnikonov mnikonov linked a pull request Jul 5, 2023 that will close this issue
@mnikonov mnikonov closed this as completed Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant