mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Add null check for processor config
This commit is contained in:
parent
7ca4fc3453
commit
7fcc8d2cef
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ def initialize_search(regenerate, verbose):
|
|||
|
||||
|
||||
def initialize_processor(verbose):
|
||||
if not config.processor:
|
||||
return
|
||||
|
||||
processor_config = ProcessorConfig()
|
||||
|
||||
# Initialize Conversation Processor
|
||||
|
|
Loading…
Reference in a new issue