Commit Graph

9 Commits

Author SHA1 Message Date
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
Eduard Ruzga
55cfd5d4ee
fix: refresh model list after api key changes (#944)
Some checks are pending
Update Stable Branch / prepare-release (push) Waiting to run
2024-12-30 23:35:08 +05:30
Oliver Jägle
7d8f811886
Fix linting issues 2024-11-22 09:49:45 +01:00
Qwikode
f644066189 fix(ui): mobile friendly 2024-11-21 15:12:33 +02:00
eduardruzga
d21ddf0080 One more fix 2024-11-14 15:37:41 +02:00
eduardruzga
756d3f2b85 Bug fixes 2024-11-12 11:25:58 +02:00
eduardruzga
a2cca14174 Refactor/standartize model providers, add "get provider key" for those who have it for first time users 2024-11-11 23:47:12 +02:00
Cole Medin
13b1321460 Noting that API key will still work if set in .env file 2024-11-09 07:59:06 -06:00
ali00209
3c7bf8c259 feat: add ability to enter API keys in the UI 2024-10-27 23:58:04 +05:00