From c0b845fc5aa4f0680f925811a5067f251e0d01c5 Mon Sep 17 00:00:00 2001 From: Harjot Gill Date: Mon, 10 Apr 2023 13:13:54 -0700 Subject: [PATCH] update prompt (#158) ### 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." --- dist/index.js | 6 +++--- src/review.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index 1613336f..1942895d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6711,6 +6711,9 @@ Response format expected - \`\`\`suggestion \`\`\` + --- + -: + \`\`\` @@ -6726,9 +6729,6 @@ Example response - \`\`\`suggestion print("Hello!") \`\`\` - \`\`\`go - log.Info().Msgf("Example") - \`\`\` --- diff --git a/src/review.ts b/src/review.ts index af83569e..92e5f1c0 100644 --- a/src/review.ts +++ b/src/review.ts @@ -405,6 +405,9 @@ Response format expected - \`\`\`suggestion \`\`\` + --- + -: + \`\`\` @@ -420,9 +423,6 @@ Example response - \`\`\`suggestion print("Hello!") \`\`\` - \`\`\`go - log.Info().Msgf("Example") - \`\`\` ---