Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 30fe6ba

Browse files
authored
summarize function signatures (#388)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI ``` ### Refactor: - Updated function signatures in `src/prompts.ts` for better clarity and consistency. - Improved control structures for enhanced logic flow. - Optimized variable assignments for efficient memory usage. ``` > Here's to the code that's now more clear, 🥂 > > With logic refined and an interface so dear. 💻 > > Variables assigned with a thoughtful mind, 🧠 > > In this PR, efficiency you'll find. 🚀 <!-- end of auto-generated comment: release notes by openai -->
1 parent 265c2bd commit 30fe6ba

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

dist/index.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/prompts.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ $file_diff
2222
2323
## Instructions
2424
25-
I would like you to summarize the diff within 100 words by noting the
26-
changes made to the function signatures, control structures, and
27-
variable assignments.
25+
I would like you to succinctly summarize the diff within 100 words.
26+
If applicable, your summary should include a note about alterations
27+
to the signatures of exported functions, global data structures and
28+
variables, and any changes that might affect the external interface or
29+
behavior of the code.
2830
`
2931
triageFileDiff = `Below the summary, I would also like you to triage the diff as \`NEEDS_REVIEW\` or
3032
\`APPROVED\` based on the following criteria:

0 commit comments

Comments
 (0)