@firebase/ai 2.6.0-canary.9101b4611 → 2.6.0-canary.a09ef786f
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.
- package/dist/esm/index.esm.js +2 -2
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ var util = require('@firebase/util');
|
|
|
8
8
|
var logger$1 = require('@firebase/logger');
|
|
9
9
|
|
|
10
10
|
var name = "@firebase/ai";
|
|
11
|
-
var version = "2.6.0-canary.
|
|
11
|
+
var version = "2.6.0-canary.a09ef786f";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @license
|
|
@@ -2323,7 +2323,7 @@ async function generateContentStreamOnCloud(apiSettings, model, params, requestO
|
|
|
2323
2323
|
}
|
|
2324
2324
|
async function generateContentStream(apiSettings, model, params, chromeAdapter, requestOptions) {
|
|
2325
2325
|
const callResult = await callCloudOrDevice(params, chromeAdapter, () => chromeAdapter.generateContentStream(params), () => generateContentStreamOnCloud(apiSettings, model, params, requestOptions));
|
|
2326
|
-
return processStream(callResult.response, apiSettings);
|
|
2326
|
+
return processStream(callResult.response, apiSettings, callResult.inferenceSource);
|
|
2327
2327
|
}
|
|
2328
2328
|
async function generateContentOnCloud(apiSettings, model, params, requestOptions) {
|
|
2329
2329
|
if (apiSettings.backend.backendType === BackendType.GOOGLE_AI) {
|