mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
use context instead of FileRepo...
This commit is contained in:
parent
5c1f3a4b91
commit
3cd881de56
19 changed files with 78 additions and 93 deletions
|
|
@ -24,6 +24,10 @@ class Context:
|
|||
src_workspace: Optional[Path] = None
|
||||
cost_manager: CostManager = CostManager()
|
||||
|
||||
@property
|
||||
def file_repo(self):
|
||||
return self.git_repo.new_file_repository()
|
||||
|
||||
@property
|
||||
def options(self):
|
||||
"""Return all key-values"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue