Skip to content

Commit 0a6df13

Browse files
Changes for claude code sdk
1 parent 94e3bea commit 0a6df13

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ public struct MessageResponse: Decodable {
1212
/// Unique object identifier.
1313
///
1414
/// The format and length of IDs may change over time.
15-
public let id: String
15+
public let id: String?
1616

1717
/// e.g: "message"
18-
public let type: String
18+
public let type: String?
1919

2020
/// The model that handled the request.
21-
public let model: String
21+
public let model: String?
2222

2323
/// Conversational role of the generated message.
2424
///

0 commit comments

Comments
 (0)