@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.
@@ -473,7 +473,7 @@ var openaiChatLanguageModelOptions = lazySchema2(
473
473
  /**
474
474
  * Reasoning effort for reasoning models. Defaults to `medium`.
475
475
  */
476
- reasoningEffort: z3.enum(["none", "minimal", "low", "medium", "high"]).optional(),
476
+ reasoningEffort: z3.enum(["none", "minimal", "low", "medium", "high", "xhigh"]).optional(),
477
477
  /**
478
478
  * Maximum number of completion tokens to generate. Useful for reasoning models.
479
479
  */
@@ -3535,10 +3535,11 @@ var openaiResponsesProviderOptionsSchema = lazySchema15(
3535
3535
  /**
3536
3536
  * Reasoning effort for reasoning models. Defaults to `medium`. If you use
3537
3537
  * `providerOptions` to set the `reasoningEffort` option, this model setting will be ignored.
3538
- * Valid values: 'none' | 'minimal' | 'low' | 'medium' | 'high'
3538
+ * Valid values: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'
3539
3539
  *
3540
- * Note: The 'none' type for `reasoningEffort` is only available for OpenAI's GPT-5.1
3541
- * models. Setting `reasoningEffort` to 'none' with other models will result in
3540
+ * The 'none' type for `reasoningEffort` is only available for OpenAI's GPT-5.1
3541
+ * models. Also, the 'xhigh' type for `reasoningEffort` is only available for
3542
+ * OpenAI's GPT-5.1-Codex-Max model. Setting `reasoningEffort` to 'none' or 'xhigh' with unsupported models will result in
3542
3543
  * an error.
3543
3544
  */
3544
3545
  reasoningEffort: z17.string().nullish(),