Skip to content

Commit b180734

Browse files
authored
docs: add reasoningEffort documentation to SDK READMEs
Document the new reasoningEffort/reasoning_effort option in SessionConfig for all SDK clients (Node.js, Python, Go, .NET).
1 parent 339fb03 commit b180734

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

dotnet/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Create a new conversation session.
9393

9494
- `SessionId` - Custom session ID
9595
- `Model` - Model to use ("gpt-5", "claude-sonnet-4.5", etc.)
96+
- `ReasoningEffort` - Reasoning effort level for models that support it ("low", "medium", "high", "xhigh"). Use `ListModelsAsync()` to check which models support this option.
9697
- `Tools` - Custom tools exposed to the CLI
9798
- `SystemMessage` - System message customization
9899
- `AvailableTools` - List of tool names to allow

go/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func main() {
102102
**SessionConfig:**
103103

104104
- `Model` (string): Model to use ("gpt-5", "claude-sonnet-4.5", etc.). **Required when using custom provider.**
105+
- `ReasoningEffort` (string): Reasoning effort level for models that support it ("low", "medium", "high", "xhigh"). Use `ListModels()` to check which models support this option.
105106
- `SessionID` (string): Custom session ID
106107
- `Tools` ([]Tool): Custom tools exposed to the CLI
107108
- `SystemMessage` (\*SystemMessageConfig): System message configuration
@@ -114,6 +115,7 @@ func main() {
114115
**ResumeSessionConfig:**
115116

116117
- `Tools` ([]Tool): Tools to expose when resuming
118+
- `ReasoningEffort` (string): Reasoning effort level for models that support it
117119
- `Provider` (\*ProviderConfig): Custom API provider configuration (BYOK). See [Custom Providers](#custom-providers) section.
118120
- `Streaming` (bool): Enable streaming delta events
119121

nodejs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Create a new conversation session.
8888

8989
- `sessionId?: string` - Custom session ID
9090
- `model?: string` - Model to use ("gpt-5", "claude-sonnet-4.5", etc.). **Required when using custom provider.**
91+
- `reasoningEffort?: "low" | "medium" | "high" | "xhigh"` - Reasoning effort level for models that support it. Use `listModels()` to check which models support this option.
9192
- `tools?: Tool[]` - Custom tools exposed to the CLI
9293
- `systemMessage?: SystemMessageConfig` - System message customization (see below)
9394
- `infiniteSessions?: InfiniteSessionConfig` - Configure automatic context compaction (see below)

python/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ await client.stop()
101101
**SessionConfig Options (for `create_session`):**
102102

103103
- `model` (str): Model to use ("gpt-5", "claude-sonnet-4.5", etc.). **Required when using custom provider.**
104+
- `reasoning_effort` (str): Reasoning effort level for models that support it ("low", "medium", "high", "xhigh"). Use `list_models()` to check which models support this option.
104105
- `session_id` (str): Custom session ID
105106
- `tools` (list): Custom tools exposed to the CLI
106107
- `system_message` (dict): System message configuration

0 commit comments

Comments
 (0)