mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 16:14:21 +00: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,6 +68,7 @@ def configure_processor(processor_config: ProcessorConfig, verbose: int):
|
|||
processor = ProcessorConfigModel()
|
||||
|
||||
# Initialize Conversation Processor
|
||||
if processor_config.conversation:
|
||||
processor.conversation = configure_conversation_processor(processor_config.conversation, verbose)
|
||||
|
||||
return processor
|
||||
|
|
Loading…
Add table
Reference in a new issue