Apply vendor rules to models resold under their plain names

This commit is contained in:
Thorsten Sommer committed 2026-09-11 08:48:50 +02:00
1 parent 9dde4e70b6
commit a0655ab408
2 files changed
+80 -25

No files matched your search

@@ -69,6 +69,10 @@ public static partial class ProviderExtensions
/// A gateway serves every model through its OpenAI-compatible chat completion API.
/// The Responses API is not available there, no matter which API the original
/// provider offers.
///
/// The same holds for a provider which resells a model under its plain name instead of
/// prefixing it with the vendor, such as GWDG. Those go through the open source rules, which
/// call this for the very same reason.
/// </remarks>
private static List<Capability> NormalizeForGateway(List<Capability> capabilities)
{