🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
feat: /data/.index/chats/chat_id
莘权 马1eb3b8fb8c7e
diff --git a/metagpt/tools/libs/index_repo.py b/metagpt/tools/libs/index_repo.pyindex fadc11522..fbe3c633b 100644--- a/metagpt/tools/libs/index_repo.py+++ b/metagpt/tools/libs/index_repo.py@@ -26,7 +26,7 @@ class TextScore(BaseModel):class IndexRepo(BaseModel):- persist_path: str # The persist path of the index repo, {DEFAULT_WORKSPACE_ROOT}/.index/{chat_id or 'uploads'}/+ persist_path: str # The persist path of the index repo, `/data/.index/uploads/` or `/data/.index/chats/{chat_id}/`root_path: str # `/data/uploads` or r`/data/chats/\d+`, the root path of files indexed by the index repo.fingerprint_filename: str = "fingerprint.json"model: Optional[str] = None