Skip to content

Commit

Permalink
Merge pull request #10 from vyfor/dev
Browse files Browse the repository at this point in the history
fix: make `ChatCompletionMessage::content` nullable
  • Loading branch information
vyfor authored Nov 10, 2024
2 parents cabf813 + 40743e6 commit 360e2da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data class ChatCompletionChoice(
@Serializable
data class ChatCompletionMessage(
val role: String,
val content: String,
val content: String?,
val toolCalls: List<CompletionToolCall>?,
val functionCall: CompletionFunctionCall?,
)
Expand Down

0 comments on commit 360e2da

Please sign in to comment.