Skip to content

Update to new OpenAI behavior when content_filter appears #175

@Fedir-Yatsenko

Description

@Fedir-Yatsenko

StatGPT Backend version

latest

Short description

The application handles this as a generic exception, but must apply special handling.

What steps will reproduce the bug?

Send any messages that trigger OpenAI's Azure content management policy.

What do you see instead?

A 200 response with "content": "An error occurred while processing your request."

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions