availability test w/ multimodal returns incorrect results

52 views
Skip to first unread message

Raymond Camden

unread,
Oct 23, 2025, 9:37:30 AMOct 23
to Chrome Built-in AI Early Preview Program Discussions
I've got the following simple function to detect if the browser can do multimodal prompting:

async function canDoIt() {
if(!window.LanguageModel) return false;
// to do, support downloadable
return (await LanguageModel.availability({expectedInputs:[{type:'image'}]})) === 'available';
}

On my Chrome browser, this returned available, but got an error when I tried to make a session. Turns out, I had enabled the main flag for prompting, but NOT the one for multimodal. So it makes sense, but is it a bug that the availability() call returned available even though it wasn't? 

Thomas Steiner

unread,
Oct 23, 2025, 10:03:38 AMOct 23
to Raymond Camden, Chrome Built-in AI Early Preview Program Discussions
This doesn't reproduce here on Version 143.0.7489.0 (Official Build) canary (arm64). I disabled the flag and the function correctly returns 'unavailable'.

 Screenshot 2025-10-23 at 16.01.24.png

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/a4bfadb0-581f-442c-ad15-18f067eafc2dn%40chromium.org.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Raymond Camden

unread,
Oct 23, 2025, 10:05:42 AMOct 23
to Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Latest for me on OSX is 141 - so maybe it's been changed later? Either way, I'm fine assuming it will work perfectly in latest. :) 
--
===========================================================================
Raymond Camden

Email : raymon...@gmail.com
Blog : www.raymondcamden.com

Thomas Steiner

unread,
Oct 23, 2025, 10:07:23 AMOct 23
to Raymond Camden, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Keep an eye on it, but for now I carefully assume it's not an issue anymore :-)
Reply all
Reply to author
Forward
0 new messages