We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8426647 commit b85257bCopy full SHA for b85257b
async-openai/src/types/assistant.rs
@@ -94,7 +94,8 @@ pub struct CreateAssistantRequest {
94
#[builder(derive(Debug))]
95
#[builder(build_fn(error = "OpenAIError"))]
96
pub struct ModifyAssistantRequest {
97
- pub model: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
98
+ pub model: Option<String>,
99
100
#[serde(skip_serializing_if = "Option::is_none")]
101
pub name: Option<String>,
0 commit comments