@ai-sdk/openai 3.0.0-beta.90 → 3.0.0-beta.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ declare const openaiChatLanguageModelOptions: _ai_sdk_provider_utils.LazySchema<
8
8
  logprobs?: number | boolean | undefined;
9
9
  parallelToolCalls?: boolean | undefined;
10
10
  user?: string | undefined;
11
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | undefined;
11
+ reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
12
12
  maxCompletionTokens?: number | undefined;
13
13
  store?: boolean | undefined;
14
14
  metadata?: Record<string, string> | undefined;
@@ -8,7 +8,7 @@ declare const openaiChatLanguageModelOptions: _ai_sdk_provider_utils.LazySchema<
8
8
  logprobs?: number | boolean | undefined;
9
9
  parallelToolCalls?: boolean | undefined;
10
10
  user?: string | undefined;
11
- reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | undefined;
11
+ reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
12
12
  maxCompletionTokens?: number | undefined;
13
13
  store?: boolean | undefined;
14
14
  metadata?: Record<string, string> | undefined;
@@ -519,7 +519,7 @@ var openaiChatLanguageModelOptions = (0, import_provider_utils4.lazySchema)(
519
519
  /**
520
520
  * Reasoning effort for reasoning models. Defaults to `medium`.
521
521
  */
522
- reasoningEffort: import_v43.z.enum(["none", "minimal", "low", "medium", "high"]).optional(),
522
+ reasoningEffort: import_v43.z.enum(["none", "minimal", "low", "medium", "high", "xhigh"]).optional(),
523
523
  /**
524
524
  * Maximum number of completion tokens to generate. Useful for reasoning models.
525
525
  */
@@ -3518,10 +3518,11 @@ var openaiResponsesProviderOptionsSchema = (0, import_provider_utils24.lazySchem
3518
3518
  /**
3519
3519
  * Reasoning effort for reasoning models. Defaults to `medium`. If you use
3520
3520
  * `providerOptions` to set the `reasoningEffort` option, this model setting will be ignored.
3521
- * Valid values: 'none' | 'minimal' | 'low' | 'medium' | 'high'
3521
+ * Valid values: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'
3522
3522
  *
3523
- * Note: The 'none' type for `reasoningEffort` is only available for OpenAI's GPT-5.1
3524
- * models. Setting `reasoningEffort` to 'none' with other models will result in
3523
+ * The 'none' type for `reasoningEffort` is only available for OpenAI's GPT-5.1
3524
+ * models. Also, the 'xhigh' type for `reasoningEffort` is only available for
3525
+ * OpenAI's GPT-5.1-Codex-Max model. Setting `reasoningEffort` to 'none' or 'xhigh' with unsupported models will result in
3525
3526
  * an error.
3526
3527
  */
3527
3528
  reasoningEffort: import_v417.z.string().nullish(),