Skip to content

Commit ebde0a2

Browse files
authored
fix(messages): serialization exception while retrieving thread messages (#369)
1 parent 654caf4 commit ebde0a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openai-core/src/commonMain/kotlin/com.aallam.openai.api/message/MessageContent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public data class FileCitation(
107107
/**
108108
* The specific quote in the file
109109
*/
110-
@SerialName("quote") val quote: String,
110+
@SerialName("quote") val quote: String? = null,
111111
)
112112

113113
/**

0 commit comments

Comments
 (0)