mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Only setup conversation processor if it has configuration set
This commit is contained in:
parent
9628ca073c
commit
82a7059b6a
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ def configure_processor(processor_config: ProcessorConfig, verbose: int):
|
||||||
processor = ProcessorConfigModel()
|
processor = ProcessorConfigModel()
|
||||||
|
|
||||||
# Initialize Conversation Processor
|
# 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
|
return processor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue