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 { ReasoningContext } from "@openrouter/sdk/models";
let value: ReasoningContext = "all_turns";
// Open enum: unrecognized values are captured as Unrecognized<string>
"auto" | "all_turns" | "current_turn" | Unrecognized<string>