We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41df22 commit 3eb3417Copy full SHA for 3eb3417
Tool/Sources/ChatBasic/ChatGPTFunction.swift
@@ -7,16 +7,16 @@ public enum ChatGPTFunctionCallPhase {
7
case error(argumentsJsonString: String, result: Error)
8
}
9
10
-public enum ChatGPTFunctionResultUserReadableContent {
11
- public struct ListItem {
12
- public enum Detail {
+public enum ChatGPTFunctionResultUserReadableContent: Sendable {
+ public struct ListItem: Sendable {
+ public enum Detail: Sendable {
13
case link(URL)
14
case text(String)
15
16
17
- var title: String
18
- var description: String?
19
- var detail: Detail?
+ public var title: String
+ public var description: String?
+ public var detail: Detail?
20
21
public init(title: String, description: String? = nil, detail: Detail? = nil) {
22
self.title = title
0 commit comments