From 51865695e44d698100e79d1705e2bd442c9f33ff Mon Sep 17 00:00:00 2001 From: Conor Branagan <472446+conorbranagan@users.noreply.github.com> Date: Tue, 16 Dec 2025 14:32:27 -0500 Subject: [PATCH] feat(sdk): add xhigh reasoning effort support to TypeScript SDK (#8108) Add "xhigh" to the ModelReasoningEffort type to match the Rust backend which already supports this reasoning level for models like gpt-5.1-codex-max. --- sdk/typescript/src/threadOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/typescript/src/threadOptions.ts b/sdk/typescript/src/threadOptions.ts index d81ffc60c..6fdf45447 100644 --- a/sdk/typescript/src/threadOptions.ts +++ b/sdk/typescript/src/threadOptions.ts @@ -2,7 +2,7 @@ export type ApprovalMode = "never" | "on-request" | "on-failure" | "untrusted"; export type SandboxMode = "read-only" | "workspace-write" | "danger-full-access"; -export type ModelReasoningEffort = "minimal" | "low" | "medium" | "high"; +export type ModelReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh"; export type ThreadOptions = { model?: string;