mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-02 16:01:04 +02:00
fix bug
This commit is contained in:
parent
4feea49b22
commit
ab55303fa1
4 changed files with 3 additions and 2 deletions
|
|
@ -35,6 +35,8 @@ class Action(SerializationMixin, ContextMixin, BaseModel):
|
|||
|
||||
@property
|
||||
def repo(self) -> ProjectRepo:
|
||||
if not self.context.repo:
|
||||
self.context.repo = ProjectRepo(self.context.git_repo)
|
||||
return self.context.repo
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue