Interface GenerationConfigThinkingConfig

Config for thinking features.

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

Properties

includeThoughts?: boolean

Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.

thinkingBudget?: number

Optional. Indicates the thinking budget in tokens.