openai: Don't send reasoning_effort if it's not set (#36228)
Release Notes: - N/A
This commit is contained in:
parent
8d6982e78f
commit
a3dcc76687
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ pub struct Request {
|
|||
pub tools: Vec<ToolDefinition>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub prompt_cache_key: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub reasoning_effort: Option<ReasoningEffort>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue