-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't workingstaleIssue is stale because it has been open for a while and has no activityIssue is stale because it has been open for a while and has no activity
Description
Describe the bug
When receiving a 400 content filter exception from sending a message to an Azure OpenAI model the inner exception that is supposed to include the reasoning for the exception is null.
To Reproduce
Steps to reproduce the behavior:
1.Setup an Azure OpenAI model with content filter set to block on message inputs.
2. Send a streaming message request that would trigger the content filtering to the model.
3. Inspect the expectation and see that the inner exception is null.
Expected behavior
The inner exception is expected to be populated with the information on why the message was blocked.
Platform
- OS: Windows
- IDE: Visual Studio
- Language: C#
- Source: NuGet package version 1.27.0
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't workingstaleIssue is stale because it has been open for a while and has no activityIssue is stale because it has been open for a while and has no activity