chore: rename open api env name (#591)
This commit is contained in:
parent
33a68983b0
commit
89030c420f
|
|
@ -161,7 +161,7 @@ pub fn get_configuration() -> Result<Config, anyhow::Error> {
|
|||
client_timeout: get_env_var("APPFLOWY_WEBSOCKET_CLIENT_TIMEOUT", "60").parse()?,
|
||||
},
|
||||
redis_uri: get_env_var("APPFLOWY_REDIS_URI", "redis://localhost:6379").into(),
|
||||
openai_api_key: std::env::var("APPFLOWY_OPENAI_API_KEY")
|
||||
openai_api_key: std::env::var("APPFLOWY_AI_OPENAI_API_KEY")
|
||||
.map(Secret::from)
|
||||
.ok(),
|
||||
s3: S3Setting {
|
||||
|
|
|
|||
Loading…
Reference in New Issue