Skip to content

Commit ee37472

Browse files
committed
Add ReasoningEffort::None
1 parent 39a51c0 commit ee37472

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

async-openai/src/types/chat/chat_types.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,9 +771,14 @@ pub enum ServiceTier {
771771
Priority,
772772
}
773773

774+
/// Constrains effort on reasoning for reasoning models. Currently supported values are none, minimal, low, medium, and high. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
775+
/// - gpt-5.1 defaults to none, which does not perform reasoning. The supported reasoning values for gpt-5.1 are none, low, medium, and high. Tool calls are supported for all reasoning values in gpt-5.1.
776+
/// - All models before gpt-5.1 default to medium reasoning effort, and do not support none.
777+
/// - The gpt-5-pro model defaults to (and only supports) high reasoning effort.
774778
#[derive(Clone, Serialize, Debug, Deserialize, PartialEq, Default)]
775779
#[serde(rename_all = "lowercase")]
776780
pub enum ReasoningEffort {
781+
None,
777782
Minimal,
778783
Low,
779784
#[default]

0 commit comments

Comments
 (0)