mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
bug fix. Update write_code.py
This commit is contained in:
parent
313d5d41f3
commit
526bfa20c6
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class WriteCode(Action):
|
|||
if not task_doc.content:
|
||||
task_doc = project_repo.docs.task.get(filename=task_doc.filename)
|
||||
m = json.loads(task_doc.content)
|
||||
code_filenames = m.get(TASK_LIST.key, []) if use_inc else m.get(REFINED_TASK_LIST.key, [])
|
||||
code_filenames = m.get(TASK_LIST.key, []) if not use_inc else m.get(REFINED_TASK_LIST.key, [])
|
||||
codes = []
|
||||
src_file_repo = project_repo.srcs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue