We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fcc656 + 840cb9f commit 2e7849eCopy full SHA for 2e7849e
Sources/OpenAI/Public/Models/ChatStreamResult.swift
@@ -71,7 +71,7 @@ public struct ChatStreamResult: Codable, Equatable, Sendable {
71
72
public struct ChoiceDeltaToolCall: Codable, Equatable, Sendable {
73
74
- public let index: Int
+ public let index: Int?
75
/// The ID of the tool call.
76
public let id: String?
77
/// The function that the model called.
0 commit comments