Commit b20ef999 authored by Paul Hendricks's avatar Paul Hendricks Committed by GitHub
Browse files

fix: add skip_serializing if none (#297)

parent 151a2a1d
...@@ -38,6 +38,8 @@ pub use delta::DeltaGenerator; ...@@ -38,6 +38,8 @@ pub use delta::DeltaGenerator;
pub struct NvCreateChatCompletionRequest { pub struct NvCreateChatCompletionRequest {
#[serde(flatten)] #[serde(flatten)]
pub inner: async_openai::types::CreateChatCompletionRequest, pub inner: async_openai::types::CreateChatCompletionRequest,
#[serde(skip_serializing_if = "Option::is_none")]
pub nvext: Option<NvExt>, pub nvext: Option<NvExt>,
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment