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

fix: #97

Closed
chrisribe opened this issue Apr 30, 2024 · 1 comment · Fixed by #98
Closed

fix: #97

chrisribe opened this issue Apr 30, 2024 · 1 comment · Fixed by #98
Labels
bug Something isn't working

Comments

@chrisribe
Copy link

Platform
The OS and browser you're using.
Win/Chrome

Description
main https://flux.paradigm.xyz/ api key entry dialog stays open after pasting it in.
There is no ok button, enter does nothing

[short summary of the bug]

I tried doing this:
Tried edge browser.

[screenshot or video that causes the bug]
image

I expected to see this happen: [explanation]
Expected the dialog to close on paste, enter or other.

Instead, this happened: [explanation]
Dialog stays open, only after going into dom and deleting overlay can you kinda test it out

@chrisribe chrisribe added the bug Something isn't working label Apr 30, 2024
@AshishGapat
Copy link
Contributor

This is probably due to OpenAI's new project keys that start with sk-proj- instead of sk- causing validation to fail

AshishGapat added a commit to AshishGapat/flux that referenced this issue May 10, 2024
fixes paradigmxyz#97

OpenAI has introduced project keys as the new default over user keys (See: https://help.openai.com/en/articles/9186755-managing-your-work-in-the-api-platform-with-projects). This was a breaking change for those with old 'user keys', causing the validation to fail. 

Change itself was simple, consisting of 1 line at /src/utils/apikey.ts
transmissions11 pushed a commit that referenced this issue May 12, 2024
fixes #97

OpenAI has introduced project keys as the new default over user keys (See: https://help.openai.com/en/articles/9186755-managing-your-work-in-the-api-platform-with-projects). This was a breaking change for those with old 'user keys', causing the validation to fail. 

Change itself was simple, consisting of 1 line at /src/utils/apikey.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants