Skip to content

Commit

Permalink
improve preaudit prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoWorms committed Nov 24, 2023
1 parent 45819e2 commit c4a81b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand Down

0 comments on commit c4a81b5

Please sign in to comment.