Skip to content

Commit d2340ba

Browse files
committed
docs: Update formatting instructions in generate_context.py
1 parent 525df7a commit d2340ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generate_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def generate_header(mode: str, checkpoint_file: Path | None = None, with_public_
206206
6. We don't need to make backups of files before big edits - there is sufficient rollback capability in dev environment
207207
7. If a solution is found for a particularly difficult issue, suggest updates to these instructions (generate_context.py)
208208
8. If code contains a code block, special handling may be required as the ``` often break the codeblock implementation
209-
9. Format code changes in a way that is most simple for an LLM (gemini, copilot) to integrate - this could be one single code block that references the file to update and it's new contents. It is not necessary to provide human instructions that highlight the specific lines being updated.
209+
9. Format code changes in a way that is most simple for an LLM (gemini, copilot) to integrate - this could be one single code block. It is not necessary to provide human instructions that highlight the specific lines being updated.
210+
10. indicate which file it is to be updated, outside of the file codeblock
210211
"""
211212
if mode == "diff":
212213
checkpoint_ts_str = "ERROR: Checkpoint file missing!"

0 commit comments

Comments
 (0)