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

Commit c0b845f

Browse files
authored
update prompt (#158)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI Release Notes: - New Feature: Added a new format for review comments in the response of the API, including start and end line numbers. > "Code reviews made easy, > With start and end lines so breezy. > Bugs beware, we'll find you soon, > Thanks to this PR's boon." <!-- end of auto-generated comment: release notes by openai -->
1 parent 0e0ff9c commit c0b845f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dist/index.js

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

src/review.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ Response format expected -
405405
\`\`\`suggestion
406406
<code/text that replaces everything between start_line_number and end_line_number>
407407
\`\`\`
408+
---
409+
<start_line_number>-<end_line_number>:
410+
<review comment>
408411
<new code, if applicable>
409412
\`\`\`<language>
410413
<new code snippet>
@@ -420,9 +423,6 @@ Example response -
420423
\`\`\`suggestion
421424
print("Hello!")
422425
\`\`\`
423-
\`\`\`go
424-
log.Info().Msgf("Example")
425-
\`\`\`
426426
---
427427
428428

0 commit comments

Comments
 (0)