bolt.diy/app/routes
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
..
_index.tsx another theme switch fix 2024-11-21 01:21:39 +05:30
api.chat.ts fix: streaming issue fixed for build versions (#1006) 2025-01-06 19:18:52 +05:30
api.check-env-key.ts 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
api.enhancer.ts simplified the fix 2024-12-18 02:20:14 +05:30
api.git-proxy.$.ts 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
api.llmcall.ts feat: added Automatic Code Template Detection And Import (#867) 2024-12-29 15:52:37 +05:30
api.models.ts let the ollama models be auto generated from ollama api 2024-10-18 14:34:08 +03:00
chat.$id.tsx feat: remove authentication (#1) 2024-09-26 17:45:41 +01:00
git.tsx added UI fix for loading screen 2024-12-17 00:14:42 +05:30