Interface ThinkingConfig

The thinking features configuration.

interface ThinkingConfig {
    includeThoughts?: boolean;
    thinkingBudget?: number;
}

Properties

includeThoughts?: boolean

Indicates whether to include thoughts in the response. If true, thoughts are returned only if the model supports thought and thoughts are available.

thinkingBudget?: number

Indicates the thinking budget in tokens. 0 is DISABLED. -1 is AUTOMATIC. The default values and allowed ranges are model dependent.