using AIStudio.Models.Matching; using AIStudio.Provider; namespace AIStudio.Models.Hosting.Hosts; /// /// Requesty, a gateway which serves other people's models and says whose they are. /// /// /// Most names come as "vendor/model", the same shape OpenRouter uses, so the prefix is taken off /// and the vendor stated. Requesty also lists managed routing policies such as "gpt-5-mini@eu", /// which carry no prefix at all. Those have nothing to take off and go to the rules as they are. /// public sealed class HostRequesty : ModelHost { /// public override LLMProviders Provider => LLMProviders.REQUESTY; /// public override ModelSource Source => new("https://docs.requesty.ai/features/managed-policies", new DateOnly(2026, 9, 25), "Models are named \"vendor/model\", apart from managed policies such as \"gpt-5-mini@eu\", and all of them are served through the OpenAI-compatible chat completion API."); /// public override bool TryUnwrap(in ModelId id, out ModelId inner, out ModelVendor? declaredVendor) => HostNaming.TrySplitOrganization(id, out inner, out declaredVendor); }