File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,6 @@ public final class FirebaseAI: Sendable {
194
194
/// Lock to manage access to the `instances` array to avoid race conditions.
195
195
private nonisolated ( unsafe) static var instancesLock : os_unfair_lock = . init( )
196
196
197
- static let defaultVertexAIAPIConfig = APIConfig (
198
- service: . vertexAI( endpoint: . firebaseProxyProd, location: " us-central1 " ) ,
199
- version: . v1beta
200
- )
201
-
202
197
static func createInstance( app: FirebaseApp ? ,
203
198
apiConfig: APIConfig ,
204
199
useLimitedUseAppCheckTokens: Bool ) -> FirebaseAI {
Original file line number Diff line number Diff line change
1
+ // Copyright 2025 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ @testable import FirebaseAI
16
+
17
+ extension FirebaseAI {
18
+ static let defaultVertexAIAPIConfig = APIConfig (
19
+ service: . vertexAI( endpoint: . firebaseProxyProd, location: " us-central1 " ) ,
20
+ version: . v1beta
21
+ )
22
+ }
You can’t perform that action at this time.
0 commit comments