fix: check for OPENAI_MODEL in OPENAI_FEATURE (#5603)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend Tests (push) Waiting to run
Docker Nightly Production / Build Package (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Release Drafter / ✏️ Draft release (push) Waiting to run

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