mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: check for OPENAI_MODEL in OPENAI_FEATURE (#5603)
This commit is contained in:
@@ -408,7 +408,7 @@ class AppSettings(AppLoggingSettings):
|
||||
description = None
|
||||
if not self.OPENAI_API_KEY:
|
||||
description = "OPENAI_API_KEY is not set"
|
||||
elif self.OPENAI_MODEL:
|
||||
elif not self.OPENAI_MODEL:
|
||||
description = "OPENAI_MODEL is not set"
|
||||
|
||||
return FeatureDetails(
|
||||
|
||||
Reference in New Issue
Block a user