Skip to content

.Net: [.NET] How to catch content filter exception in GetStreamingChatMessageContentsAsync #11487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sophialagerkranspandey opened this issue Apr 10, 2025 · 1 comment
Labels
.NET Issue or Pull requests regarding .NET code triage

Comments

@sophialagerkranspandey
Copy link
Contributor

Discussed in #10843

Originally posted by romainsemur March 7, 2025
When the model behind the GetStreamingChatMessageContentsAsync throws a content_filter exception, it just throw a basic exception, is there a way to throws a ContentFilterException ?

@sophialagerkranspandey sophialagerkranspandey added the .NET Issue or Pull requests regarding .NET code label Apr 10, 2025
@github-actions github-actions bot changed the title [.NET] How to catch content filter exception in GetStreamingChatMessageContentsAsync .Net: [.NET] How to catch content filter exception in GetStreamingChatMessageContentsAsync Apr 10, 2025
@sophialagerkranspandey
Copy link
Contributor Author

duplicate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code triage
Projects
None yet
Development

No branches or pull requests

2 participants