mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 02:23:52 +02:00
feat: add software team tool lib
This commit is contained in:
parent
155a5a8c65
commit
a994716eb2
3 changed files with 58 additions and 3 deletions
|
|
@ -82,8 +82,6 @@ class Context(BaseModel):
|
|||
|
||||
def set_repo_dir(self, path: str | Path):
|
||||
repo_path = Path(path)
|
||||
if not repo_path.exists():
|
||||
return
|
||||
self.git_repo = GitRepository(local_path=repo_path, auto_init=True)
|
||||
self.repo = ProjectRepo(self.git_repo)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue