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 f6183a88de
commit 39dccf40a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.