mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-11 09:13:47 +00:00
Apply vendor rules to models resold under their plain names
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user