mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-20 00:56:26 +00: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