Closed yGuy closed 1 year ago
It seems OpenAI has pretty strict rules for user names. We need to sanitize the names before sending them to OpenAI, so that it will accept the user names.
The bot fails when there is a "." in the user name, e.g.
"message": "a.b' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'messages.1.name'",
It seems OpenAI has pretty strict rules for user names. We need to sanitize the names before sending them to OpenAI, so that it will accept the user names.
The bot fails when there is a "." in the user name, e.g.