ReasoningConfig

class ReasoningConfig(val effort: ReasoningEffort? = null, val summary: ReasoningSummary? = null)(source)

Configuration options for reasoning models.

Constructors

Link copied to clipboard
constructor(effort: ReasoningEffort? = null, summary: ReasoningSummary? = null)

Properties

Link copied to clipboard
val effort: ReasoningEffort? = null

Constrains effort on reasoning for reasoning models. Currently supported values are minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.

Link copied to clipboard

A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. One of auto, concise, or detailed.