Skip to content

Commit b9c1a1d

Browse files
Merge pull request #10 from Compiler-Inc/fix/chunk-issues
fix: completion chunk decoding issues
2 parents 10c1d3e + 99a15bb commit b9c1a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CompilerSwiftAI/Model Calling/Domain Models/ChatCompletionChunk.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public struct ChatCompletionChunk: Decodable, Sendable {
2323
/// The service tier used for processing the request (if applicable).
2424
public let serviceTier: String?
2525
/// A fingerprint representing the backend configuration the model runs with.
26-
public let systemFingerprint: String
26+
public let systemFingerprint: String?
2727
/// The list of chat completion choice chunks.
2828
public let choices: [ChatChunkChoice]
2929
/// Usage statistics for the completion request.

0 commit comments

Comments
 (0)