Language Model Call Params
Single parameter envelope for both generate and stream so middleware can wrap both the same way and wrapLanguageModel only needs one pass-through shape.
Since
0.3.0-beta01
Properties
Link copied to clipboard
Link copied to clipboard
Penalty proportional to how often a token has appeared. Mirrors v6's CallSettings. Null = provider default.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Penalty for repeating tokens that already appeared in the response, regardless of frequency. Mirrors v6's CallSettings (per historical parity gap #3 closure). Null = provider default.
Link copied to clipboard
Link copied to clipboard
Wire-level shape constraint. Mirrors v6's LanguageModelV3CallOptions.responseFormat (per historical parity gap #20). Providers that support constrained decoding honor it; others ignore. Default ResponseFormat.Text = no constraint.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard