Skip to content

Commit

Permalink
Merge pull request #1012 from Pythagora-io/parse-task-save-file-content
Browse files Browse the repository at this point in the history
parse_task: convince GPT4 to not try to output file contents
  • Loading branch information
LeonOstrez authored Jun 12, 2024
2 parents 5e06b1f + 88e53cf commit d790a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/prompts/developer/parse_task.prompt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ when converting this message to steps.
Each step can be either:

* `command` - command to run (must be able to run on a {{ os }} machine, assume current working directory is project root folder)
* `save_file` - create or update ONE file
* `save_file` - create or update ONE file (only provide file path, not contents)
* `human_intervention` - if you need the human to do something, use this type of step and explain in details what you want the human to do. NEVER use `human_intervention` for testing, as testing will be done separately by a dedicated QA after all the steps are done. Also you MUST NOT use `human_intervention` to ask the human to write or review code.

**IMPORTANT**: If multiple changes are required for same file, you must provide single `save_file` step for each file.
Expand Down

0 comments on commit d790a6b

Please sign in to comment.