We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9072011 commit 9eeb3bbCopy full SHA for 9eeb3bb
packages/ai/lib/constants.ts
@@ -19,6 +19,8 @@ import { version } from './version';
19
20
export const AI_TYPE = 'AI';
21
22
+export const VERTEX_TYPE = 'vertexAI';
23
+
24
export const DEFAULT_LOCATION = 'us-central1';
25
26
export const DEFAULT_BASE_URL = 'https://firebasevertexai.googleapis.com';
packages/ai/lib/types/error.ts
@@ -17,6 +17,7 @@
17
18
import { FirebaseError } from '@firebase/util';
import { GenerateContentResponse } from './responses';
+import { VERTEX_TYPE } from '../constants';
/**
* Details object that may be included in an error response.
0 commit comments