Class OpenRouterOptions
Inheritance
OpenRouterOptions
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
|
Edit this page
View Source
Models
Declaration
public List<string> Models { get; set; }
Property Value
|
Edit this page
View Source
Plugins
Declaration
public List<OpenRouterOptions.Plugin> Plugins { get; set; }
Property Value
|
Edit this page
View Source
Provider
Declaration
public OpenRouterOptions.ProviderOptions Provider { get; set; }
Property Value
|
Edit this page
View Source
Route
Allowed values: fallback, sort
Declaration
public string Route { get; set; }
Property Value
|
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
Implements
Extension Methods