From 82a7059b6a3bd73d7fd79911ede80571ce84e3a9 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 10 Aug 2022 22:34:03 +0300 Subject: [PATCH] Only setup conversation processor if it has configuration set --- src/configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/configure.py b/src/configure.py index bdd5d79c..34051f8b 100644 --- a/src/configure.py +++ b/src/configure.py @@ -68,7 +68,8 @@ def configure_processor(processor_config: ProcessorConfig, verbose: int): processor = ProcessorConfigModel() # Initialize Conversation Processor - processor.conversation = configure_conversation_processor(processor_config.conversation, verbose) + if processor_config.conversation: + processor.conversation = configure_conversation_processor(processor_config.conversation, verbose) return processor