mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
feat: +annotation
This commit is contained in:
parent
c483d0d7a3
commit
5ea488d37a
1 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ class WriteTasks(Action):
|
|||
)
|
||||
change_files.docs[filename] = task_doc
|
||||
|
||||
# Rewrite the task files that have undergone changes based on the git head diff under docs/tasks/.
|
||||
# Rewrite the task files that have undergone changes based on the git head diff under `docs/tasks/`.
|
||||
for filename in changed_tasks:
|
||||
if filename in change_files.docs:
|
||||
continue
|
||||
|
|
@ -227,7 +227,7 @@ class WriteTasks(Action):
|
|||
|
||||
if not change_files.docs:
|
||||
logger.info("Nothing has changed.")
|
||||
# Wait until all files under `docs/tasks/` are processed before sending the publish message, leaving room for
|
||||
# Wait until all files under `docs/tasks/` are processed before sending the publish_message, leaving room for
|
||||
# global optimization in subsequent steps.
|
||||
return ActionOutput(content=change_files.json(), instruct_content=change_files)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue