Type: session-id-producer
Extracts a session identifier from each inference request and publishes it as the SessionID attribute on the InferenceRequest attribute store. Affinity-aware scorers and filters consume this attribute via session.ReadSessionID(request) without needing to know whether the session was carried in a header or a cookie.
The producer is a no-op when the configured source is absent or empty; consumers must treat the missing attribute as "no session preference".
Exactly one of the following must be set:
headerName: name of the request header whose value is the session identifier. Comparison is case-insensitive (header names in the request are lowercased).cookieName: name of the cookie within the standardCookierequest header whose value is the session identifier.
plugins:
- type: session-id-producer
parameters:
headerName: x-session-idplugins:
- type: session-id-producer
parameters:
cookieName: llm-d-session