mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-28 03:46:06 -05:00
Some cleanup, typing
This commit is contained in:
@@ -202,7 +202,5 @@ class AIConfig(BaseConfig):
|
||||
|
||||
def llm_index_enabled(self) -> bool:
|
||||
return (
|
||||
self.ai_enabled
|
||||
and self.llm_embedding_backend
|
||||
and self.llm_embedding_backend
|
||||
self.ai_enabled and self.llm_embedding_backend and self.llm_embedding_model
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user