bolt.diy/app/components
Adithyan K 49bb17886a
fix: added ui indicator on how apikeys are set (UI/Env) for api-key-manager component (#732)
* fixed #333

* Added instruction in case api-key is not set.

* addressed some of the review changes:

1. moved function definiton to useCallback.
2. added a cache to store the env key status and the api call is made only on a cache miss.

* Manages the API-key entered via UI in a better way.

- Persist API keys in cookies when entered via UI
- Automatically load saved keys when switching between providers
- Preserve existing functionality for environment variable based keys

* Re-used map from utils/constants file.

* Code cleanup -  Removed redundant API key init in BaseChat as its already handled by APIKeyManager component.
2025-01-10 21:26:31 +05:30
..
chat fix: added ui indicator on how apikeys are set (UI/Env) for api-key-manager component (#732) 2025-01-10 21:26:31 +05:30
editor/codemirror
git fix: introduce our own cors proxy for git import to fix 403 errors on isometric git cors proxy (#924) 2025-01-05 17:26:02 +05:30
header added logo 2024-12-10 21:46:05 +05:30
settings docs: bugfix/formatting faq docs (#1027) 2025-01-10 21:17:32 +05:30
sidebar minor bugfix 2024-12-16 23:55:51 +05:30
ui fix: introduce our own cors proxy for git import to fix 403 errors on isometric git cors proxy (#924) 2025-01-05 17:26:02 +05:30
workbench Merge pull request #602 from mark-when/contextMenu2 2024-12-15 15:22:46 +05:30