Skip to content

Commit

Permalink
summarize function signatures (coderabbitai#388)
Browse files Browse the repository at this point in the history
<!-- 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 -->
  • Loading branch information
harjotgill authored Jul 29, 2023
1 parent 265c2bd commit 30fe6ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions src/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ $file_diff
## Instructions
I would like you to summarize the diff within 100 words by noting the
changes made to the function signatures, control structures, and
variable assignments.
I would like you to succinctly summarize the diff within 100 words.
If applicable, your summary should include a note about alterations
to the signatures of exported functions, global data structures and
variables, and any changes that might affect the external interface or
behavior of the code.
`
triageFileDiff = `Below the summary, I would also like you to triage the diff as \`NEEDS_REVIEW\` or
\`APPROVED\` based on the following criteria:
Expand Down

0 comments on commit 30fe6ba

Please sign in to comment.