add ENABLE_OPENAI_API

based on ollama one
This commit is contained in:
nixupp 2024-08-13 10:42:05 +00:00 committed by GitHub
parent c1a6ee4b97
commit 82612f937e

View File

@ -234,6 +234,11 @@ Here is a list of supported environment variables used by `backend/config.py` in
### OpenAI
#### `ENABLE_OPENAI_API`
- Default: `true`
- Description: Enables the use of OpenAI APIs.
#### `OPENAI_API_KEY`
- Description: Sets the OpenAI API key.