Skip to content

Commit 15a5455

Browse files
Remove ToolCallMessage struct from ChatData model
1 parent 24bebd3 commit 15a5455

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Sources/Grok-API-SDK/Models/ChatData.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,4 @@ public struct SchemaDetails: Codable, Sendable {
241241
public struct SchemaProperty: Codable, Sendable {
242242
public let type: String
243243
public let description: String?
244-
}
245-
246-
public struct ToolCallMessage: Codable, Sendable {
247-
public let toolCalls: [ToolCall]?
248-
249-
enum CodingKeys: String, CodingKey {
250-
case toolCalls = "tool_calls"
251-
}
252-
}
244+
}

0 commit comments

Comments
 (0)