From b298b6d071950645cb9c0344804bdb8340927627 Mon Sep 17 00:00:00 2001 From: Will Date: Thu, 28 Mar 2024 00:54:28 +0800 Subject: [PATCH] Fix a bug in Initialize_Model() test --- tests/Mscc.GenerativeAI/GoogleAi_Embedding_Should.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Mscc.GenerativeAI/GoogleAi_Embedding_Should.cs b/tests/Mscc.GenerativeAI/GoogleAi_Embedding_Should.cs index d306966..b729374 100644 --- a/tests/Mscc.GenerativeAI/GoogleAi_Embedding_Should.cs +++ b/tests/Mscc.GenerativeAI/GoogleAi_Embedding_Should.cs @@ -22,8 +22,8 @@ public GoogleAi_Embedding_Should(ITestOutputHelper output, ConfigurationFixture public void Initialize_Model() { // Arrange - var expected = Model.Embedding; - + var expected = Model.Embedding.SanitizeModelName(); + // Act var model = new GenerativeModel(apiKey: fixture.ApiKey, model: this.model);