Skip to content

Commit

Permalink
Remove more artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Krivoblotsky committed May 15, 2023
1 parent 9f7610c commit 6bb1456
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/OpenAI/Public/Models/ChatResult.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ import Foundation
public struct ChatResult: Codable, Equatable {

public struct Choice: Codable, Equatable {
public struct Delta: Codable, Equatable {
public let content: String?
public let role: Chat.Role?
}


public let index: Int
/// Exists only if it is a complete message.
public let message: Chat
Expand Down

0 comments on commit 6bb1456

Please sign in to comment.