mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-19 07:59:34 +00:00
minor fixes
This commit is contained in:
parent
a04ed7f0d7
commit
040a665ebb
3 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ def initialize():
|
|||
chat_model = chat_llm,
|
||||
utility_model = utility_llm,
|
||||
embeddings_model = embedding_llm,
|
||||
prompts_subdir = "custom",
|
||||
# prompts_subdir = "",
|
||||
# memory_subdir = "",
|
||||
# knowledge_subdir: str = ""
|
||||
auto_memory_count = 0,
|
||||
# auto_memory_skip = 2,
|
||||
# rate_limit_seconds = 60,
|
||||
|
|
|
|||
0
memory/.gitkeep
Normal file
0
memory/.gitkeep
Normal file
|
|
@ -42,7 +42,7 @@ class VectorDB:
|
|||
|
||||
|
||||
# if db folder exists and is not empty:
|
||||
if os.path.exists(self.db_dir) and len(os.listdir(self.db_dir)) > 0:
|
||||
if os.path.exists(self.db_dir) and files.exists(self.db_dir,"index.faiss"):
|
||||
self.db = FAISS.load_local(
|
||||
folder_path=self.db_dir,
|
||||
embeddings=self.embedder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue