diff --git a/tests/OpenAI.ChatGpt.IntegrationTests/ChatGptTranslatorServiceTests.cs b/tests/OpenAI.ChatGpt.IntegrationTests/ChatGptTranslatorServiceTests.cs index 017c022..9587b78 100644 --- a/tests/OpenAI.ChatGpt.IntegrationTests/ChatGptTranslatorServiceTests.cs +++ b/tests/OpenAI.ChatGpt.IntegrationTests/ChatGptTranslatorServiceTests.cs @@ -8,7 +8,7 @@ public class ChatGptTranslatorServiceTests : IClassFixture { private readonly IAiClient _client; - private const string GtpModel = ChatCompletionModels.Gpt4Turbo; + private const string GtpModel = ChatCompletionModels.Gpt4o; public ChatGptTranslatorServiceTests(OpenAiClientFixture fixture) { diff --git a/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/AzureOpenAiClientTests.cs b/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/AzureOpenAiClientTests.cs index 3d8e187..01438b5 100644 --- a/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/AzureOpenAiClientTests.cs +++ b/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/AzureOpenAiClientTests.cs @@ -12,17 +12,6 @@ public AzureOpenAiClientTests(ITestOutputHelper outputHelper, AzureOpenAiClientF _outputHelper = outputHelper; _client = fixture.Client; } - - [Fact] - public async void Get_response_from_GPT4_32k_model_for_one_message_works() - { - string text = "Who are you? In two words."; -#pragma warning disable CS0618 // Type or member is obsolete - string response = await _client.GetChatCompletions(new UserMessage(text), model: ChatCompletionModels.Gpt4_32k); -#pragma warning restore CS0618 // Type or member is obsolete - _outputHelper.WriteLine(response); - response.Should().NotBeNullOrEmpty(); - } [Fact] public async void Get_long_response_from_gpt4_Turbo_model() diff --git a/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/OpenAiClient_GetStructuredResponse.cs b/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/OpenAiClient_GetStructuredResponse.cs index 5a3f928..ad2af90 100644 --- a/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/OpenAiClient_GetStructuredResponse.cs +++ b/tests/OpenAI.ChatGpt.IntegrationTests/ClientTests/OpenAiClient_GetStructuredResponse.cs @@ -17,7 +17,8 @@ public OpenAiClientGetStructuredResponseTests(OpenAiClientFixture clientFixture) [InlineData(ChatCompletionModels.Gpt3_5_Turbo)] [InlineData(ChatCompletionModels.Gpt4Turbo)] [InlineData(ChatCompletionModels.Gpt4)] - [InlineData(ChatCompletionModels.Gpt3_5_Turbo_1106)] + [InlineData(ChatCompletionModels.Gpt4o)] + [InlineData(ChatCompletionModels.Gpt4o_Mini)] public async void Get_simple_structured_response_from_ChatGPT(string model) { var message = @@ -33,7 +34,7 @@ public async void Get_simple_structured_response_from_ChatGPT(string model) [Theory] [InlineData(ChatCompletionModels.Gpt4Turbo)] - [InlineData(ChatCompletionModels.Gpt4)] + [InlineData(ChatCompletionModels.Gpt4o)] public async void Get_structured_response_with_ARRAY_from_ChatGPT(string model) { var message = Dialog @@ -56,7 +57,7 @@ public async void Get_structured_response_with_ARRAY_from_ChatGPT(string model) [Theory] [InlineData(ChatCompletionModels.Gpt4Turbo)] - [InlineData(ChatCompletionModels.Gpt4)] + [InlineData(ChatCompletionModels.Gpt4o)] public async void Get_structured_response_with_ENUM_from_ChatGPT(string model) { var message = Dialog @@ -69,7 +70,7 @@ public async void Get_structured_response_with_ENUM_from_ChatGPT(string model) [Theory] [InlineData(ChatCompletionModels.Gpt4Turbo)] - [InlineData(ChatCompletionModels.Gpt4)] + [InlineData(ChatCompletionModels.Gpt4o)] public async void Get_structured_response_with_extra_data_from_ChatGPT(string model) { var message = Dialog