Skip to content

Commit bb2ab3e

Browse files
committed
fix swift format
1 parent b0869f1 commit bb2ab3e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Sources/Converse/Role.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ public struct Role: Codable, Sendable, Equatable {
4343
}
4444

4545
// custom encoding and decoding to handle string value with a "type" field
46-
/*
47-
"message":{
48-
"content":[
49-
{"text":"This is the textcompletion for: This is a test"}
50-
],
51-
"role":"assistant"
52-
}},
53-
*/
46+
//
47+
// "message":{
48+
// "content":[
49+
// {"text":"This is the textcompletion for: This is a test"}
50+
// ],
51+
// "role":"assistant"
52+
// }},
53+
//
5454
public init(from decoder: any Decoder) throws {
5555
let container = try decoder.singleValueContainer()
5656
let role = try container.decode(String.self)

0 commit comments

Comments
 (0)