- 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

View File

@@ -1,5 +1,5 @@
# Import all processor implementations to ensure registration
from . import audio_processor, html_processor, pdf_processor, markdown_processor, docx_processor, automagic_html_processor
from . import html_processor, pdf_processor, markdown_processor, docx_processor, automagic_html_processor
# List of all available processor implementations
__all__ = ['audio_processor', 'html_processor', 'pdf_processor', 'markdown_processor', 'docx_processor', 'automagic_html_processor']
__all__ = ['html_processor', 'pdf_processor', 'markdown_processor', 'docx_processor', 'automagic_html_processor']