chore: update env (#1136)

This commit is contained in:
Nathan.fooo 2025-01-07 15:47:36 +08:00 committed by GitHub
parent 9f16d040b5
commit e0bc8f814b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ pub fn get_configuration() -> Result<Config, anyhow::Error> {
redis_uri: get_env_var("APPFLOWY_REDIS_URI", "redis://localhost:6379").into(),
redis_worker_count: get_env_var("APPFLOWY_REDIS_WORKERS", "60").parse()?,
ai: AISettings {
port: get_env_var("APPFLOWY_AI_SERVER_PORT", "5001").parse()?,
port: get_env_var("AI_SERVER_PORT", "5001").parse()?,
host: get_env_var("AI_SERVER_HOST", "localhost"),
},
};