mirror of
https://github.com/openai/codex.git
synced 2026-11-14 21:40:39 +00:00
Add max and ultra reasoning efforts to the SDKs (#39662)
## What changed - Add `max` and `ultra` to the TypeScript `ModelReasoningEffort` type. - Add matching Python `ReasoningEffort` members and preserve them when SDK artifacts are regenerated. - Update the Python model-selection examples to rank the new effort levels. ## Testing - Cover serialization of both new Python enum members while continuing to accept unknown future values. GitOrigin-RevId: 1412b77bdbb2530f5d38921cdea971dd34458353
This commit is contained in:
@@ -2,7 +2,14 @@ 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" | "xhigh";
|
||||
export type ModelReasoningEffort =
|
||||
| "minimal"
|
||||
| "low"
|
||||
| "medium"
|
||||
| "high"
|
||||
| "xhigh"
|
||||
| "max"
|
||||
| "ultra";
|
||||
|
||||
export type WebSearchMode = "disabled" | "cached" | "live";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user