From 45819e2b9c37d38a6e536693aabd84f3e3250808 Mon Sep 17 00:00:00 2001 From: Marco Guaspari Worms Date: Fri, 24 Nov 2023 11:11:54 +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 2f9d658..6a645ff 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. +/- 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. ''' messages = [ {