mirror of
https://github.com/Xueheng-Li/SynologyChatbotGPT.git
synced 2025-07-20 18:27:20 +00:00
Update basicBot.py
The name of the role from settings did not match from that from the basicBot.py
This commit is contained in:
@ -82,7 +82,7 @@ def generate_gpt_response(user_id, username, message, max_conversation_length=ma
|
||||
|
||||
conversation_history[user_id]["messages"].append({"role": "user", "content": message})
|
||||
|
||||
system_prompt = chatbot_character
|
||||
system_prompt = system_prompt
|
||||
|
||||
messages = [{"role": "system", "content": system_prompt}]
|
||||
|
||||
|
Reference in New Issue
Block a user