@firebase/ai 2.6.0-canary.59407948d → 2.6.0-canary.5c7430dea

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.
@@ -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.59407948d";
11
+ var version = "2.6.0-canary.5c7430dea";
12
12
 
13
13
  /**
14
14
  * @license
@@ -2015,7 +2015,7 @@ async function generateContentStreamOnCloud(apiSettings, model, params, requestO
2015
2015
  }
2016
2016
  async function generateContentStream(apiSettings, model, params, chromeAdapter, requestOptions) {
2017
2017
  const callResult = await callCloudOrDevice(params, chromeAdapter, () => chromeAdapter.generateContentStream(params), () => generateContentStreamOnCloud(apiSettings, model, params, requestOptions));
2018
- return processStream(callResult.response, apiSettings); // TODO: Map streaming responses
2018
+ return processStream(callResult.response, apiSettings, callResult.inferenceSource);
2019
2019
  }
2020
2020
  async function generateContentOnCloud(apiSettings, model, params, requestOptions) {
2021
2021
  if (apiSettings.backend.backendType === BackendType.GOOGLE_AI) {