mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 00:53:37 +00:00
Requesty is an OpenAI compatible AI gateway. The provider mirrors OpenRouter: chat completions over https://router.requesty.ai/v1/, the same project headers, and a model list read from both the managed policies (models/managed) and the full catalog (models), including the context window.
10 lines
446 B
C#
10 lines
446 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace AIStudio.Provider.Requesty;
|
|
|
|
/// <summary>
|
|
/// A data model for a Requesty model from the API.
|
|
/// </summary>
|
|
/// <param name="Id">The model's ID.</param>
|
|
/// <param name="ContextWindowTokens">How much the model reads and writes in one conversation, in tokens.</param>
|
|
public readonly record struct RequestyModel(string Id, [property: JsonPropertyName("context_window")] int? ContextWindowTokens); |