Skip to content

Commit c087ea5

Browse files
committed
making sure vertex instance will differentiate with location
1 parent 4bab0b3 commit c087ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firebase_ai/firebase_ai/lib/src/firebase_ai.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class FirebaseAI extends FirebasePluginPlatform {
6868
bool? useLimitedUseAppCheckTokens,
6969
}) {
7070
app ??= Firebase.app();
71-
var instanceKey = '${app.name}::vertexai';
71+
var instanceKey = '${app.name}::vertexai::$location';
7272

7373
if (_cachedInstances.containsKey(instanceKey)) {
7474
return _cachedInstances[instanceKey]!;

0 commit comments

Comments
 (0)