Is your feature request related to a problem? Please describe.
Currently, the project relies on a static OpenAI API key stored in the environment variable, leading to issues when the key becomes deprecated. Users are unable to dynamically update the key, causing disruptions in functionality.
Describe the solution you'd like
I would like to propose a feature that allows users to input their OpenAI API key on the home page. This user-provided key should be securely stored for future use by the backend. This way, users have the flexibility to update their OpenAI API key without the need for manual intervention in the code or deployment process.
Describe alternatives you've considered
An alternative could be a configuration file where users can update the OpenAI API key. However, this may still require access to the codebase for modification. The proposed solution of taking the key directly from the home page provides a more user-friendly and accessible approach.
Additional context
This feature enhancement aims to improve the flexibility and user experience by allowing users to easily manage and update their OpenAI API key directly from the home page. The input mechanism should prioritize security and validation to ensure the integrity of the provided key. Additionally, relevant documentation should be updated to guide users on how to utilize this new feature.
Is your feature request related to a problem? Please describe.
Currently, the project relies on a static OpenAI API key stored in the environment variable, leading to issues when the key becomes deprecated. Users are unable to dynamically update the key, causing disruptions in functionality.
Describe the solution you'd like
I would like to propose a feature that allows users to input their OpenAI API key on the home page. This user-provided key should be securely stored for future use by the backend. This way, users have the flexibility to update their OpenAI API key without the need for manual intervention in the code or deployment process.
Describe alternatives you've considered
An alternative could be a configuration file where users can update the OpenAI API key. However, this may still require access to the codebase for modification. The proposed solution of taking the key directly from the home page provides a more user-friendly and accessible approach.
Additional context
This feature enhancement aims to improve the flexibility and user experience by allowing users to easily manage and update their OpenAI API key directly from the home page. The input mechanism should prioritize security and validation to ensure the integrity of the provided key. Additionally, relevant documentation should be updated to guide users on how to utilize this new feature.