Skip to content

Commit 337d34c

Browse files
committed
Merge branch 'feat/prefer-in-cloud' of https://github.com/firebase/firebase-js-sdk into feat/prefer-in-cloud
2 parents 4324ddd + d165c42 commit 337d34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.changeset/feat-prefer-in-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"firebase": minor
44
---
55

6-
Added a new `InferenceMode` option, `prefer_in_cloud`. When this mode is selected, the SDK will attempt to use the cloud backend first. If the cloud call fails with a network-related error, it will fall back to the on-device model if available.
6+
Added a new `InferenceMode` option for the hybrid on-device capability: `prefer_in_cloud`. When this mode is selected, the SDK will attempt to use a cloud-hosted model first. If the call to the cloud-hosted model fails with a network-related error, the SDK will fall back to the on-device model, if it's available.

0 commit comments

Comments
 (0)