Added the Google provider (#201)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-11-09 22:04:00 +01:00
1 parent 2ae40c59a3
commit 826d15729b
13 files changed
+264 -16

No files matched your search

@@ -173,7 +173,7 @@ public sealed class ProviderMistral(ILogger logger) : BaseProvider("https://api.
return modelResponse.Data.Where(n =>
!n.Id.StartsWith("code", StringComparison.InvariantCulture) &&
!n.Id.Contains("embed", StringComparison.InvariantCulture))
.Select(n => new Provider.Model(n.Id));
.Select(n => new Provider.Model(n.Id, null));
}
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously