Skip to content

Commit 8d4e67c

Browse files
authored
Serialisation solved - Update message.rs (64bit#222)
Made pub quote: Option<String>, optional as suggested, seems to work fine now, cheers
1 parent fd2c755 commit 8d4e67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async-openai/src/types/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ pub struct FileCitation {
144144
/// The ID of the specific File the citation is from.
145145
pub file_id: String,
146146
/// The specific quote in the file.
147-
pub quote: String,
147+
pub quote: Option<String>,
148148
}
149149

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

0 commit comments

Comments
 (0)