mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
Fix check for OPENAI_MODEL in OPENAI_FEATURE
This commit is contained in:
parent
ac984a2d04
commit
30a824f165
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue