Skip to content
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

Fix error handling for OpenAI completion tests #951

Merged
merged 1 commit into from
May 11, 2023

Conversation

lemillermicrosoft
Copy link
Member

@lemillermicrosoft lemillermicrosoft commented May 11, 2023

This commit fixes the error handling for the OpenAI completion tests by using the correct error codes and messages from the AIException class. It also adds a pragma warning to disable xUnit1004 for the file, since some of the tests are used for manual verification.

Contribution Checklist

This commit fixes the error handling for the OpenAI completion tests
by using the correct error codes and messages from the AIException
class. It also adds a pragma warning to disable xUnit1004 for the
file, since some of the tests are used for manual verification.
@github-actions github-actions bot added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels May 11, 2023
@lemillermicrosoft lemillermicrosoft marked this pull request as ready for review May 11, 2023 14:01
@lemillermicrosoft lemillermicrosoft enabled auto-merge (squash) May 11, 2023 14:12
@lemillermicrosoft lemillermicrosoft merged commit 885d065 into microsoft:main May 11, 2023
shawncal pushed a commit to johnoliver/semantic-kernel that referenced this pull request May 19, 2023
This commit fixes the error handling for the OpenAI completion tests by
using the correct error codes and messages from the AIException class.
It also adds a pragma warning to disable xUnit1004 for the file, since
some of the tests are used for manual verification.
dehoward pushed a commit to lemillermicrosoft/semantic-kernel that referenced this pull request Jun 1, 2023
This commit fixes the error handling for the OpenAI completion tests by
using the correct error codes and messages from the AIException class.
It also adds a pragma warning to disable xUnit1004 for the file, since
some of the tests are used for manual verification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants