Some cleanup, typing

This commit is contained in:
shamoon
2025-04-28 08:37:02 -07:00
parent 8d48d398eb
commit f6a3882199
2 changed files with 11 additions and 15 deletions

View File

@@ -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
)