diff --git a/lollms/app.py b/lollms/app.py index 4ae8304..8551996 100644 --- a/lollms/app.py +++ b/lollms/app.py @@ -176,7 +176,7 @@ class LollmsApplication(LoLLMsCom): self.session = Session(lollms_paths) - self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite")) + self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite"), config = self.config) self.tasks_library = TasksLibrary(self) @staticmethod diff --git a/lollms/databases/skills_database.py b/lollms/databases/skills_database.py index 7cab0e9..b82917d 100644 --- a/lollms/databases/skills_database.py +++ b/lollms/databases/skills_database.py @@ -10,7 +10,6 @@ class SkillsLibrary: self.config = config self._initialize_db() from lollmsvectordb.lollms_tokenizers.tiktoken_tokenizer import TikTokenTokenizer - self.config = config if config is not None: vectorizer = self.config.rag_vectorizer if vectorizer == "semantic":