Skip to content

Commit bf84c6a

Browse files
authored
making sure vertex instance will differentiate with location (#17664)
1 parent 4bab0b3 commit bf84c6a

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)