From c4a81b5548fe714181c9eb8298e92de3b109adec Mon Sep 17 00:00:00 2001 From: Marco Guaspari Worms Date: Fri, 24 Nov 2023 11:21:02 +0100 Subject: [PATCH] improve preaudit prompt --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 6a645ff..a69c805 100644 --- a/bot.py +++ b/bot.py @@ -94,7 +94,7 @@ def preaudit(update: Update, context: CallbackContext) -> None: code_content = response.text prompt = ''' -/- Match the natspec documentation made for each function in the code above with its code, for each function list the differences if they don't match perfectly. Make it a list with function signatures and assessments for parts that do not match. You can NEVER say that code is too long to make a review, you have more context size than the source code to craft your answer so you are allowed to make big analysis. +/- Match the natspec documentation made for each function in the code above with its code, for each function list the differences if they don't match perfectly. Make it a list with function signatures and assessments for parts that do not match. You can NEVER say that code is too long to make a review, you have more context size than the source code to craft your answer so you are allowed to make big analysis. Do not use any markdown, simply write text and newlines. ''' messages = [ {