@firebase/ai 2.7.0-canary.65a553baf → 2.7.0-canary.691a506ec

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ export declare const STAGING_URL = "https://staging-firebasevertexai.sandbox.goo
21
21
  export declare const DEFAULT_API_VERSION = "v1beta";
22
22
  export declare const PACKAGE_VERSION: string;
23
23
  export declare const LANGUAGE_TAG = "gl-js";
24
+ export declare const HYBRID_TAG = "hybrid";
24
25
  export declare const DEFAULT_FETCH_TIMEOUT_MS: number;
25
26
  /**
26
27
  * Defines the name of the default in-cloud model to use for hybrid inference.
@@ -17,6 +17,7 @@
17
17
  import { AppCheckTokenResult } from '@firebase/app-check-interop-types';
18
18
  import { FirebaseAuthTokenData } from '@firebase/auth-interop-types';
19
19
  import { Backend } from '../backend';
20
+ import { InferenceMode } from './enums';
20
21
  export * from './imagen/internal';
21
22
  export interface ApiSettings {
22
23
  apiKey: string;
@@ -30,4 +31,5 @@ export interface ApiSettings {
30
31
  backend: Backend;
31
32
  getAuthToken?: () => Promise<FirebaseAuthTokenData | null>;
32
33
  getAppCheckToken?: () => Promise<AppCheckTokenResult>;
34
+ inferenceMode?: InferenceMode;
33
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/ai",
3
- "version": "2.7.0-canary.65a553baf",
3
+ "version": "2.7.0-canary.691a506ec",
4
4
  "description": "The Firebase AI SDK",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "engines": {
@@ -48,19 +48,19 @@
48
48
  "trusted-type-check": "tsec -p tsconfig.json --noEmit"
49
49
  },
50
50
  "peerDependencies": {
51
- "@firebase/app": "0.14.7-canary.65a553baf",
52
- "@firebase/app-types": "0.9.3-canary.65a553baf"
51
+ "@firebase/app": "0.14.7-canary.691a506ec",
52
+ "@firebase/app-types": "0.9.3-canary.691a506ec"
53
53
  },
54
54
  "dependencies": {
55
- "@firebase/app-check-interop-types": "0.3.3-canary.65a553baf",
56
- "@firebase/component": "0.7.0-canary.65a553baf",
57
- "@firebase/logger": "0.5.0-canary.65a553baf",
58
- "@firebase/util": "1.13.0-canary.65a553baf",
55
+ "@firebase/app-check-interop-types": "0.3.3-canary.691a506ec",
56
+ "@firebase/component": "0.7.0-canary.691a506ec",
57
+ "@firebase/logger": "0.5.0-canary.691a506ec",
58
+ "@firebase/util": "1.13.0-canary.691a506ec",
59
59
  "tslib": "^2.1.0"
60
60
  },
61
61
  "license": "Apache-2.0",
62
62
  "devDependencies": {
63
- "@firebase/app": "0.14.7-canary.65a553baf",
63
+ "@firebase/app": "0.14.7-canary.691a506ec",
64
64
  "@rollup/plugin-json": "6.1.0",
65
65
  "rollup": "2.79.2",
66
66
  "rollup-plugin-replace": "2.2.0",