Skip to content

Commit

Permalink
Serialisation solved - Update message.rs (#222)
Browse files Browse the repository at this point in the history
Made pub quote: Option<String>, optional as suggested, seems to work fine now, cheers
  • Loading branch information
kitalia authored May 8, 2024
1 parent 532a60f commit f0353b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-openai/src/types/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub struct FileCitation {
/// The ID of the specific File the citation is from.
pub file_id: String,
/// The specific quote in the file.
pub quote: String,
pub quote: Option<String>,
}

#[derive(Clone, Serialize, Debug, Deserialize, PartialEq)]
Expand Down

0 comments on commit f0353b4

Please sign in to comment.