From 0309e5880a59435ead750d8da7aed41870210afe Mon Sep 17 00:00:00 2001 From: conorbranagan <119252915+conorbranagan@users.noreply.github.com> Date: Tue, 16 Dec 2025 10:28:57 -0500 Subject: [PATCH] feat(sdk): add xhigh reasoning effort support to TypeScript SDK 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 d81ffc60c77c..6fdf45447302 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;