mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-22 06:39:41 +02:00
fix: check for OPENAI_MODEL in OPENAI_FEATURE (#5603)
This commit is contained in:
parent
15f06b5378
commit
781bbecc7b
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