diff --git a/extensions/openai/script.py b/extensions/openai/script.py index d41592a3..b865fe7e 100644 --- a/extensions/openai/script.py +++ b/extensions/openai/script.py @@ -259,7 +259,7 @@ class Handler(BaseHTTPRequestHandler): role_formats = { 'user': 'user: {message}\n', - 'bot': 'assistant: {message}\n', + 'assistant': 'assistant: {message}\n', 'system': '{message}', 'context': 'You are a helpful assistant. Answer as concisely as possible.', 'prompt': 'assistant:',