Instance Propertymacpaw.openai 0.3.3OpenAI
toolCalls
ChatStreamResult.swift:22let toolCalls: [Self.ChoiceDeltaToolCall]?
let toolCalls: [Self.ChoiceDeltaToolCall]?
s6OpenAI16ChatStreamResultV6ChoiceV0F5DeltaV9toolCallsSayAG0fG8ToolCallVGSgvp
What are these?2GG81
import OpenAI
struct ChoiceDelta
struct ChatStreamResult
struct Choice
struct ChoiceDeltaToolCall
init(from decoder: any Decoder) throws
let content: String?
The contents of the chunk message.
let role: Self.Role?
The role of the author of this message.
enum CodingKeys
typealias Role = ChatQuery.ChatCompletionMessageParam.Role