Files
openrouter-python-sdk-retry…/docs/components/reasoningcontext.mdx
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
3f1ab05c95 chore: 🐝 Update SDK - Generate (spec change merged) 0.11.15 (#418)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-07-09 18:20:26 +00:00

24 lines
608 B
Plaintext

---
title: "ReasoningContext"
---
Controls which reasoning is available to the model. `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.
## Example Usage
```python
from openrouter.components import ReasoningContext
# Open enum: unrecognized values are captured as UnrecognizedStr
value: ReasoningContext = "auto"
```
## Values
This is an open enum. Unrecognized values will not fail type checks.
- `"auto"`
- `"all_turns"`
- `"current_turn"`