matrix-chatgpt-bot icon indicating copy to clipboard operation
matrix-chatgpt-bot copied to clipboard

Error info not forwarded

Open NicodemPL opened this issue 2 years ago • 0 comments

When using too much text in response I receive just short info: "The bot has encountered an error, please contact your administrator (Error code Unknown)."

While in logs its clear what happened: "Mon, 24 Jul 2023 11:35:41 GMT [ERROR] [OpenAI-API Error: Error: Prompt is too long. Max token count is 3071, but prompt is 5746 tokens long.]"

Would be nice to forward via chat info about the [ERROR] messages from log.

NicodemPL avatar Jul 24 '23 11:07 NicodemPL