We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f7610c commit 6bb1456Copy full SHA for 6bb1456
Sources/OpenAI/Public/Models/ChatResult.swift
@@ -10,11 +10,7 @@ import Foundation
10
public struct ChatResult: Codable, Equatable {
11
12
public struct Choice: Codable, Equatable {
13
- public struct Delta: Codable, Equatable {
14
- public let content: String?
15
- public let role: Chat.Role?
16
- }
17
-
+
18
public let index: Int
19
/// Exists only if it is a complete message.
20
public let message: Chat
0 commit comments