cf-openai-azure-proxy icon indicating copy to clipboard operation
cf-openai-azure-proxy copied to clipboard

Handle Azure API 500 exception

Open vaddenz opened this issue 2 years ago • 0 comments

Azure API may encounter internal server error occasionally, when this happens a raw HTML source code is returned which harms user experience. This PR catches internal server error exceptions, provides user a short and clear message.

Before:

图片

After:

图片

vaddenz avatar Aug 08 '23 04:08 vaddenz