- Fixed bug where negative answers in KO Criteria resulted in a blank answer

- Fixed bug where removal of audio processor caused eveai_workers to not start up, resulting in documents not being processed.
This commit is contained in:
Josako
2025-08-07 08:52:15 +02:00
parent ed87d73c5a
commit 866cc2a60d
2 changed files with 3 additions and 3 deletions

View File

@@ -368,7 +368,7 @@ class SpecialistExecutor(CrewAIBaseSpecialistExecutor):
if evaluation == "negative":
answer = TranslationServices.translate(self.tenant_id,
random.choices(KO_CRITERIA_NOT_MET_MESSAGES),
random.choice(KO_CRITERIA_NOT_MET_MESSAGES),
self.arguments.language)
self.flow.state.answer = answer