FEAT: Add availabilityService (#81)

* auto and fallback work

* test fixes

* fixes

* Show model dialog even if there's no more fallback option

* fix tests

* fix failing test

* disable showInDialog for model in settings

* revert package-lock.json

* remove dup line

---------

Co-authored-by: Sehoon Shon <sshon@google.com>
This commit is contained in:
Adam Weidman
2025-12-11 21:51:16 -05:00
committed by Tommaso Sciortino
parent ad994cfe8b
commit 48ad6983a3
37 changed files with 876 additions and 1511 deletions
@@ -257,7 +257,7 @@ export class Session {
try {
const model = getEffectiveModel(
this.config.getModel(),
this.config.isInFallbackMode(),
this.config.getPreviewFeatures(),
);
const responseStream = await chat.sendMessageStream(
{ model },