1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-19 05:09:40 +02:00

fix: check for OPENAI_MODEL in OPENAI_FEATURE (#5603)

This commit is contained in:
Joey 2025-06-29 16:38:34 -04:00 committed by GitHub
parent 15f06b5378
commit 781bbecc7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(