Skip to content

Commit 95e491f

Browse files
committed
fix style and change ci
1 parent c2f3745 commit 95e491f

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.github/workflows/firebaseai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: macOS-15
2424
strategy:
2525
matrix:
26-
xcode: ["16.3"]
26+
xcode: ["26_beta_5"]
2727
os: [iOS]
2828
include:
2929
- os: iOS

firebaseai/ChatExample/ViewModels/ChatViewModel.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ class ChatViewModel: ObservableObject {
123123
self.error = error
124124
print(error.localizedDescription)
125125
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)
129129
messages[messages.count - 1] = errorMessage
130130
}
131131
}
@@ -167,9 +167,9 @@ class ChatViewModel: ObservableObject {
167167
self.error = error
168168
print(error.localizedDescription)
169169
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)
173173
messages[messages.count - 1] = errorMessage
174174
}
175175
}

firebaseai/FunctionCallingExample/ViewModels/FunctionCallingViewModel.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ class FunctionCallingViewModel: ObservableObject {
115115
self.error = error
116116
print(error.localizedDescription)
117117
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)
121121
messages[messages.count - 1] = errorMessage
122122
}
123123
}
@@ -156,9 +156,9 @@ class FunctionCallingViewModel: ObservableObject {
156156
self.error = error
157157
print(error.localizedDescription)
158158
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)
162162
messages[messages.count - 1] = errorMessage
163163
}
164164
}

scripts/test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020

2121
set -euo pipefail
2222

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
2427
xcode_version="16.2"
2528
iphone_version="16"
2629
else

0 commit comments

Comments
 (0)