auto uses the model default (same as omitting); all_turns includes reasoning from earlier turns passed in input; current_turn limits to the current turn only. Only supported by OpenAI GPT-5.6 and newer.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
auto uses the model default (same as omitting); all_turns includes reasoning from earlier turns passed in input; current_turn limits to the current turn only. Only supported by OpenAI GPT-5.6 and newer.
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.ReasoningContextAuto
// Open enum: custom values can be created with a direct type cast
custom := components.ReasoningContext("custom_value")
| Name | Value |
|---|---|
ReasoningContextAuto | auto |
ReasoningContextAllTurns | all_turns |
ReasoningContextCurrentTurn | current_turn |