Hi @Nekstrebor , yes i can confirm this is a bug we will fix it asap.
1 Like
Bugfix has been made but still needs to be tested and validated by the team.
main
← Stijnus:ACT_BoltDYI_BUGFIX_DATATAB
opened 09:43PM - 05 Mar 25 UTC
## API Key Import Fix
We identified and fixed an issue with the API key impor… t functionality in the DataTab component. The problem was that API keys were being stored in localStorage instead of cookies, and the key format was being incorrectly processed.
### Changes Made:
1. **Updated `handleImportAPIKeys` function**:
- Changed to store API keys in cookies instead of localStorage
- Modified to use provider names directly as keys (e.g., "OpenAI", "Google")
- Added logic to skip comment fields (keys starting with "_")
- Added page reload after successful import to apply changes immediately
2. **Updated `handleDownloadTemplate` function**:
- Changed template format to use provider names as keys
- Added explanatory comment in the template
- Removed URL-related keys that weren't being used properly
3. **Fixed template format**:
- Template now uses the correct format with provider names as keys
- Added support for all available providers including Hyperbolic
These changes ensure that when users download the template, fill it with their API keys, and import it back, the keys are properly stored in cookies with the correct format that the application expects.