mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-28 16:54:19 -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
|
description = None
|
||||||
if not self.OPENAI_API_KEY:
|
if not self.OPENAI_API_KEY:
|
||||||
description = "OPENAI_API_KEY is not set"
|
description = "OPENAI_API_KEY is not set"
|
||||||
elif self.OPENAI_MODEL:
|
elif not self.OPENAI_MODEL:
|
||||||
description = "OPENAI_MODEL is not set"
|
description = "OPENAI_MODEL is not set"
|
||||||
|
|
||||||
return FeatureDetails(
|
return FeatureDetails(
|
||||||
|
|||||||
Reference in New Issue
Block a user