Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public partial interface ISubpackageAnthropicMessagesClient
/// </param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="speed"></param>
/// <param name="stopSequences"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public partial interface ISubpackageBetaResponsesClient
/// <param name="safetyIdentifier"></param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stopServerToolsWhen">
/// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public partial interface ISubpackageChatClient
/// The service tier to use for processing this request.
/// </param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stop">
/// Stop sequences (up to 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public partial interface ISubpackagePresetsClient
/// The service tier to use for processing this request.
/// </param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stop">
/// Stop sequences (up to 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public partial interface ISubpackagePresetsClient
/// </param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="speed"></param>
/// <param name="stopSequences"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public partial interface ISubpackagePresetsClient
/// <param name="safetyIdentifier"></param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stopServerToolsWhen">
/// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public sealed partial class ChatRequest
public global::OpenRouter.OneOf<global::OpenRouter.ChatRequestServiceTier?, object>? ServiceTier { get; set; }

/// <summary>
/// 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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("session_id")]
public string? SessionId { get; set; }
Expand Down Expand Up @@ -293,7 +293,7 @@ public sealed partial class ChatRequest
/// The service tier to use for processing this request.
/// </param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stop">
/// Stop sequences (up to 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public sealed partial class MessagesRequest
public string? ServiceTier { get; set; }

/// <summary>
/// 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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("session_id")]
public string? SessionId { get; set; }
Expand Down Expand Up @@ -202,7 +202,7 @@ public sealed partial class MessagesRequest
/// </param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="speed"></param>
/// <param name="stopSequences"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public sealed partial class ResponsesRequest
public global::OpenRouter.OneOf<global::OpenRouter.ResponsesRequestServiceTier?, object>? ServiceTier { get; set; }

/// <summary>
/// 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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("session_id")]
public string? SessionId { get; set; }
Expand Down Expand Up @@ -291,7 +291,7 @@ public sealed partial class ResponsesRequest
/// <param name="safetyIdentifier"></param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stopServerToolsWhen">
/// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ partial void ProcessCreateMessagesResponseContent(
/// </param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="speed"></param>
/// <param name="stopSequences"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ partial void ProcessCreateResponsesResponseContent(
/// <param name="safetyIdentifier"></param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stopServerToolsWhen">
/// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ partial void ProcessSendChatCompletionRequestResponseContent(
/// The service tier to use for processing this request.
/// </param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stop">
/// Stop sequences (up to 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ partial void ProcessCreatePresetsChatCompletionsResponseContent(
/// The service tier to use for processing this request.
/// </param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stop">
/// Stop sequences (up to 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ partial void ProcessCreatePresetsMessagesResponseContent(
/// </param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="speed"></param>
/// <param name="stopSequences"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ partial void ProcessCreatePresetsResponsesResponseContent(
/// <param name="safetyIdentifier"></param>
/// <param name="serviceTier"></param>
/// <param name="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. Maximum of 256 characters.
/// A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided, OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.
/// </param>
/// <param name="stopServerToolsWhen">
/// Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.
Expand Down
Loading