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.
This commit is contained in:
Conor Branagan 2025-12-16 14:32:27 -05:00 committed by GitHub
parent 3a32716e1c
commit 51865695e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;