Fix issue

This commit is contained in:
Leonid Pershin
2025-10-18 05:05:03 +03:00
parent de31c285f8
commit 59a9630313

View File

@@ -131,7 +131,7 @@ public class OllamaClientAdapterTests
// Assert // Assert
Assert.NotNull(result); Assert.NotNull(result);
Assert.IsAssignableFrom<IAsyncEnumerable<ChatResponseStream?>>(result); Assert.IsType<IAsyncEnumerable<ChatResponseStream?>>(result, exactMatch: false);
} }
[Fact] [Fact]
@@ -146,7 +146,7 @@ public class OllamaClientAdapterTests
// Assert // Assert
Assert.NotNull(result); Assert.NotNull(result);
Assert.IsAssignableFrom<Task<IEnumerable<Model>>>(result); Assert.IsType<Task<IEnumerable<Model>>>(result, exactMatch: false);
} }
[Fact] [Fact]