Files
AI-Studio/app/MindWork AI Studio/Provider/HuggingFace/ModelsResponse.cs
T

12 lines
548 B
C#
Raw Normal View History

2026-08-30 16:45:14 +02:00
namespace AIStudio.Provider.HuggingFace;
/// <summary>
/// A data model for the response from the model endpoint of the Hugging Face router.
/// </summary>
/// <remarks>
/// The router says more about a model than the OpenAI model list does: which inference providers
/// serve it, and which kinds of input it takes. That is why this provider brings its own data model
/// instead of using the shared one.
/// </remarks>
/// <param name="Data">The models the router knows.</param>
2026-09-04 15:48:07 +02:00
public readonly record struct ModelsResponse(IList<HFModel> Data);