File tree Expand file tree Collapse file tree 4 files changed +17
-14
lines changed
FunctionCallingExample/ViewModels Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 23
23
runs-on : macOS-15
24
24
strategy :
25
25
matrix :
26
- xcode : ["16.3 "]
26
+ xcode : ["26_beta_5 "]
27
27
os : [iOS]
28
28
include :
29
29
- os : iOS
Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ class ChatViewModel: ObservableObject {
123
123
self . error = error
124
124
print ( error. localizedDescription)
125
125
let errorMessage = ChatMessage ( content: " An error occurred. Please try again. " ,
126
- participant: . other,
127
- error: error,
128
- pending: false )
126
+ participant: . other,
127
+ error: error,
128
+ pending: false )
129
129
messages [ messages. count - 1 ] = errorMessage
130
130
}
131
131
}
@@ -167,9 +167,9 @@ class ChatViewModel: ObservableObject {
167
167
self . error = error
168
168
print ( error. localizedDescription)
169
169
let errorMessage = ChatMessage ( content: " An error occurred. Please try again. " ,
170
- participant: . other,
171
- error: error,
172
- pending: false )
170
+ participant: . other,
171
+ error: error,
172
+ pending: false )
173
173
messages [ messages. count - 1 ] = errorMessage
174
174
}
175
175
}
Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ class FunctionCallingViewModel: ObservableObject {
115
115
self . error = error
116
116
print ( error. localizedDescription)
117
117
let errorMessage = ChatMessage ( content: " An error occurred. Please try again. " ,
118
- participant: . other,
119
- error: error,
120
- pending: false )
118
+ participant: . other,
119
+ error: error,
120
+ pending: false )
121
121
messages [ messages. count - 1 ] = errorMessage
122
122
}
123
123
}
@@ -156,9 +156,9 @@ class FunctionCallingViewModel: ObservableObject {
156
156
self . error = error
157
157
print ( error. localizedDescription)
158
158
let errorMessage = ChatMessage ( content: " An error occurred. Please try again. " ,
159
- participant: . other,
160
- error: error,
161
- pending: false )
159
+ participant: . other,
160
+ error: error,
161
+ pending: false )
162
162
messages [ messages. count - 1 ] = errorMessage
163
163
}
164
164
}
Original file line number Diff line number Diff line change 20
20
21
21
set -euo pipefail
22
22
23
- if [ -d " /Applications/Xcode_16.2.app" ]; then
23
+ if [ -d " /Applications/Xcode_26_beta_5.app" ]; then
24
+ xcode_version=" 26_beta_5"
25
+ iphone_version=" 16"
26
+ elif [ -d " /Applications/Xcode_16.2.app" ]; then
24
27
xcode_version=" 16.2"
25
28
iphone_version=" 16"
26
29
else
You can’t perform that action at this time.
0 commit comments