Shared fields that can be set at construction time or overridden per-call.
interface ChatOpenRouterFieldsAdditive penalty based on how often a token has appeared so far (ā2 to 2).
Token-level biases to apply during sampling.
Maximum number of tokens to generate.
Minimum probability threshold for token sampling.
OpenRouter-specific list of models for routing.
OpenRouter plugins to enable (e.g. web search).
Additive penalty based on whether a token has appeared at all (ā2 to 2).
OpenRouter-specific provider preferences and ordering.
Multiplicative penalty applied to repeated token logits (0 to 2).
OpenRouter-specific routing strategy.
Random seed for deterministic generation.
Stop sequences that halt generation.
Sampling temperature (0ā2).
Top-A sampling threshold.
Top-K sampling: only consider the K most likely tokens.
Number of most-likely log-probabilities to return per token.
Nucleus sampling cutoff probability.
OpenRouter-specific transformations to apply to the request.