Skip to content

Commit 381c0f1

Browse files
authored
Apply suggestion from @JaredConover
1 parent 4fb18d7 commit 381c0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenAI/Private/Streaming/ModelResponseEventsStreamInterpreter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class ModelResponseEventsStreamInterpreter: @unchecked Sendable, StreamInt
5959
var eventType = finalEvent.eventType
6060

6161
/// If the SSE `event` property is not specified by the provider service, our parser defaults it to "message" which is not a valid model response type.
62-
/// In this case we check the `data.type` property for a valid model response type.
62+
/// In this case we check the `data.type` property for a valid model response type.
6363
if eventType == "message" || eventType.isEmpty,
6464
let payloadEventType = finalEvent.getPayloadType() {
6565
eventType = payloadEventType

0 commit comments

Comments
 (0)