From ade6bfed18e73b962cb0d9e67085f04035491820 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Wed, 31 Jul 2024 17:15:07 -0400 Subject: [PATCH] fix guarded_ai feedback issue --- research/guarded_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/research/guarded_ai.py b/research/guarded_ai.py index b7552e3..1a4a0f3 100644 --- a/research/guarded_ai.py +++ b/research/guarded_ai.py @@ -45,7 +45,7 @@ def generate_ai_feedback(category, question, user_response, tokens_for_ai): messages = [ { "role": "system", - "content": "{tokens_for_ai} Generate a human-readable feedback message based on the following:", + "content": f"{tokens_for_ai} Generate a human-readable feedback message based on the following:", }, { "role": "user",