fix guarded_ai feedback issue

This commit is contained in:
Russell Ballestrini 2024-07-31 17:15:07 -04:00
parent 7953815e9d
commit ade6bfed18

View file

@ -45,7 +45,7 @@ def generate_ai_feedback(category, question, user_response, tokens_for_ai):
messages = [ messages = [
{ {
"role": "system", "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", "role": "user",