mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 03:46:23 +02:00
refine code
This commit is contained in:
parent
00a212b52b
commit
bd63df212d
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class WriteCode(Action):
|
|||
|
||||
async def run(self, *args, **kwargs) -> CodingContext:
|
||||
bug_feedback = await self.file_repo.get_file(filename=BUGFIX_FILENAME, relative_path=DOCS_FILE_REPO)
|
||||
coding_context = CodingContext.loads(self.context.content)
|
||||
coding_context = CodingContext.loads(self.i_context.content)
|
||||
test_doc = await self.file_repo.get_file(
|
||||
filename="test_" + coding_context.filename + ".json", relative_path=TEST_OUTPUTS_FILE_REPO
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue