Skip to content

Commit 3eb3417

Browse files
committed
Update
1 parent f41df22 commit 3eb3417

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Tool/Sources/ChatBasic/ChatGPTFunction.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ public enum ChatGPTFunctionCallPhase {
77
case error(argumentsJsonString: String, result: Error)
88
}
99

10-
public enum ChatGPTFunctionResultUserReadableContent {
11-
public struct ListItem {
12-
public enum Detail {
10+
public enum ChatGPTFunctionResultUserReadableContent: Sendable {
11+
public struct ListItem: Sendable {
12+
public enum Detail: Sendable {
1313
case link(URL)
1414
case text(String)
1515
}
1616

17-
var title: String
18-
var description: String?
19-
var detail: Detail?
17+
public var title: String
18+
public var description: String?
19+
public var detail: Detail?
2020

2121
public init(title: String, description: String? = nil, detail: Detail? = nil) {
2222
self.title = title

0 commit comments

Comments
 (0)