Skip to content

Commit 6bb1456

Browse files
committed
Remove more artifacts
1 parent 9f7610c commit 6bb1456

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/OpenAI/Public/Models/ChatResult.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ import Foundation
1010
public struct ChatResult: Codable, Equatable {
1111

1212
public struct Choice: Codable, Equatable {
13-
public struct Delta: Codable, Equatable {
14-
public let content: String?
15-
public let role: Chat.Role?
16-
}
17-
13+
1814
public let index: Int
1915
/// Exists only if it is a complete message.
2016
public let message: Chat

0 commit comments

Comments
 (0)