-
Notifications
You must be signed in to change notification settings - Fork 22
[Fix] API key saving logic #851
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Fix API key precheck in user lookup
Separate key validation from optimizer init
Initialize optimizer after successful key save
Improve exception messages with details
Diagram Walkthrough
File Walkthrough
cfapi.py
Fix api key precheck in get_user_idcodeflash/api/cfapi.py
api_keybefore ensuring stored keybeta.py
Refactor key validation and optimizer init flowcodeflash/lsp/beta.py
_check_api_key_validityfrom initialization_initialize_optimizerhelpercheck_api_keyandprovide_api_key