Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

feat: min_token_count=10k

莘权 马a9d0ab27e85e
diff --git a/metagpt/tools/libs/index_repo.py b/metagpt/tools/libs/index_repo.py
index 1501b8e28..4d5c0d1c5 100644
--- a/metagpt/tools/libs/index_repo.py
+++ b/metagpt/tools/libs/index_repo.py
@@ -30,8 +30,8 @@ class IndexRepo(BaseModel):
root_path: str
fingerprint_filename: str = "fingerprint.json"
model: Optional[str] = None
- min_token_count: int = 5000
- max_token_count: int = 100000
+ min_token_count: int = 10000
+ max_token_count: int = 100000000
recall_count: int = 5
embedding: Optional[BaseEmbedding] = Field(default=None, exclude=True)
fingerprints: Dict[str, str] = Field(default_factory=dict)