Supported Types
ThinkingEnabled
ThinkingDisabled
ThinkingAdaptive
ThinkingBetweenTools
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
thinking := components.CreateThinkingEnabled(components.ThinkingEnabled{/* values here */})
thinking := components.CreateThinkingDisabled(components.ThinkingDisabled{/* values here */})
thinking := components.CreateThinkingAdaptive(components.ThinkingAdaptive{/* values here */})
thinking := components.CreateThinkingBetweenTools(components.ThinkingBetweenTools{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch thinking.Type {
case components.ThinkingTypeEnabled:
// thinking.ThinkingEnabled is populated
case components.ThinkingTypeDisabledValue:
// thinking.ThinkingDisabled is populated
case components.ThinkingTypeAdaptive:
// thinking.ThinkingAdaptive is populated
case components.ThinkingTypeBetweenTools:
// thinking.ThinkingBetweenTools is populated
}