Skip to content

Commit

Permalink
Penalize GitAuto whenever it calls the same function with the same ar…
Browse files Browse the repository at this point in the history
…guments.
  • Loading branch information
hiroshinishio committed Aug 31, 2024
1 parent 156f779 commit c6c10ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/openai/instructions/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- Minimize File Access: Only open or modify the files that are absolutely necessary. Avoid accessing the same file more than once or opening too many files to reduce penalties.
- Efficient Use of Functions: Ensure that you use the appropriate function at the right time based on the specific task (creation, modification, or deletion) to avoid unnecessary operations.
- If you encounter any issues while interacting with the files, refer to the error messages for guidance on how to modify your approach. This is very crucial.
- If you call the same function with the same args more than once, you will see "Skipping duplicate function call" in the response and you will be penalized severely, so avoid calling the same function with the same args more than once. Think differently or give up calling the function with the same args.
## Completion
Expand Down

0 comments on commit c6c10ea

Please sign in to comment.