This commit is contained in:
Cyberes 2023-10-03 00:05:32 -06:00
parent 07d6f6d8e9
commit f6acd67738
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class OpenAIRequestHandler(RequestHandler):
return invalid_response return invalid_response
if opts.openai_api_key and is_api_key_moderated(self.token): if opts.openai_api_key and is_api_key_moderated(self.token):
print('moderating') print('moderating', self.token)
try: try:
# Gather the last message from the user and all preceeding system messages # Gather the last message from the user and all preceeding system messages
msg_l = self.request.json['messages'].copy() msg_l = self.request.json['messages'].copy()