@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.
@@ -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-canary.9101b4611";
7
+ var version = "2.6.0-canary.a09ef786f";
8
8
 
9
9
  /**
10
10
  * @license
@@ -2319,7 +2319,7 @@ async function generateContentStreamOnCloud(apiSettings, model, params, requestO
2319
2319
  }
2320
2320
  async function generateContentStream(apiSettings, model, params, chromeAdapter, requestOptions) {
2321
2321
  const callResult = await callCloudOrDevice(params, chromeAdapter, () => chromeAdapter.generateContentStream(params), () => generateContentStreamOnCloud(apiSettings, model, params, requestOptions));
2322
- return processStream(callResult.response, apiSettings); // TODO: Map streaming responses
2322
+ return processStream(callResult.response, apiSettings, callResult.inferenceSource);
2323
2323
  }
2324
2324
  async function generateContentOnCloud(apiSettings, model, params, requestOptions) {
2325
2325
  if (apiSettings.backend.backendType === BackendType.GOOGLE_AI) {