mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Only setup conversation processor if it has configuration set
This commit is contained in:
@@ -68,6 +68,7 @@ def configure_processor(processor_config: ProcessorConfig, verbose: int):
|
|||||||
processor = ProcessorConfigModel()
|
processor = ProcessorConfigModel()
|
||||||
|
|
||||||
# Initialize Conversation Processor
|
# Initialize Conversation Processor
|
||||||
|
if processor_config.conversation:
|
||||||
processor.conversation = configure_conversation_processor(processor_config.conversation, verbose)
|
processor.conversation = configure_conversation_processor(processor_config.conversation, verbose)
|
||||||
|
|
||||||
return processor
|
return processor
|
||||||
|
|||||||
Reference in New Issue
Block a user