fix guarded_ai feedback issue
This commit is contained in:
parent
7953815e9d
commit
ade6bfed18
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue