Skip to content

Commit db53108

Browse files
hsubox76dlarocque
andauthored
Update .changeset/feat-prefer-in-cloud.md
Co-authored-by: Daniel La Rocque <[email protected]>
1 parent 274e5e8 commit db53108

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

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

6-
feat: Add `prefer_in_cloud` option for inference mode
7-
8-
This change introduces 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.
9-
10-
This also includes a refactoring of the logic for dispatching requests to either the on-device or cloud backends to improve clarity and remove duplication.
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.

0 commit comments

Comments
 (0)