Search Results for

    Show / Hide Table of Contents

    Class OpenRouterOptions

    Inheritance
    object
    OpenRouterOptions
    Implements
    ITextRequestOptions
    IProviderRequestOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenRouter
    Assembly: Glitch9.AIDevKit.Provider.OpenRouter.dll
    Syntax
    public sealed class OpenRouterOptions : ITextRequestOptions, IProviderRequestOptions

    Properties

    | Edit this page View Source

    Debug

    Declaration
    public OpenRouterOptions.DebugOptions Debug { get; set; }
    Property Value
    Type Description
    OpenRouterOptions.DebugOptions
    | Edit this page View Source

    Models

    Declaration
    public List<string> Models { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    Plugins

    Declaration
    public List<OpenRouterOptions.Plugin> Plugins { get; set; }
    Property Value
    Type Description
    List<OpenRouterOptions.Plugin>
    | Edit this page View Source

    Provider

    Declaration
    public OpenRouterOptions.ProviderOptions Provider { get; set; }
    Property Value
    Type Description
    OpenRouterOptions.ProviderOptions
    | Edit this page View Source

    Route

    Allowed values: fallback, sort

    Declaration
    public string Route { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SessionId

    A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Optional. Maximum of 128 characters.

    Declaration
    public string SessionId { get; set; }
    Property Value
    Type Description
    string

    Implements

    ITextRequestOptions
    IProviderRequestOptions

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation