Skip to content

Commit

Permalink
refactor: Update role from "system" to "assistant" in message_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed May 5, 2024
1 parent 86e0691 commit 416517b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion groq_chat/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async def message_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
)
context.user_data["messages"] = context.user_data.get("messages", []) + [
{
"role": "system",
"role": "assistant",
"content": full_output_message,
}
]
Expand Down

0 comments on commit 416517b

Please # to comment.