@firebase/ai 2.6.0-20251113021847 → 2.6.0-canary.1e406a2b7

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.
@@ -4,7 +4,7 @@ import { FirebaseError, Deferred, getModularInstance } from '@firebase/util';
4
4
  import { Logger } from '@firebase/logger';
5
5
 
6
6
  var name = "@firebase/ai";
7
- var version = "2.6.0-20251113021847";
7
+ var version = "2.6.0-canary.1e406a2b7";
8
8
 
9
9
  /**
10
10
  * @license
@@ -2011,7 +2011,7 @@ async function generateContentStreamOnCloud(apiSettings, model, params, requestO
2011
2011
  }
2012
2012
  async function generateContentStream(apiSettings, model, params, chromeAdapter, requestOptions) {
2013
2013
  const callResult = await callCloudOrDevice(params, chromeAdapter, () => chromeAdapter.generateContentStream(params), () => generateContentStreamOnCloud(apiSettings, model, params, requestOptions));
2014
- return processStream(callResult.response, apiSettings); // TODO: Map streaming responses
2014
+ return processStream(callResult.response, apiSettings, callResult.inferenceSource);
2015
2015
  }
2016
2016
  async function generateContentOnCloud(apiSettings, model, params, requestOptions) {
2017
2017
  if (apiSettings.backend.backendType === BackendType.GOOGLE_AI) {