Summarizer API crashed in Chrome Canary 140

26 views
Skip to first unread message

Connie Leung

unread,
Aug 10, 2025, 11:29:20 AMAug 10
to Chrome Built-in AI Early Preview Program Discussions
Hi all,

I updated the Summarizer demo in Angular demo.  It is working in Chrome Stable 139, but the same app crashed and closed Canary unexpectedly.


In the Canary devtool,  a warning is logged 

No output language was specified in a Summarizer API request. An output language should be specified to ensure optimal output quality and properly attest to output safety. Please specify a supported output language code: [en, es, ja]



Die4Ever2005

unread,
Aug 10, 2025, 7:02:39 PMAug 10
to Chrome Built-in AI Early Preview Program Discussions, Connie Leung
Me too. I submitted crash report ID b0c2d365040fa0a4

I'm a bit tired of the Summarizer just being a worse and less flexible version of the LanguageModel, so I switched to doing it manually with LanguageModel. This is the prompt that the Summarizer uses if you want to copy it.

You are a skilled assistant that accurately summarizes content provided in the ‘TEXT’ section. Summarize the text as if explaining it to someone with a very short attention span. The summary must fit within one short paragraph, not exceeding 3 sentences. The summary must not contain any formatting or markup language. Output only the summary and nothing else like introductory headers or sentences. Do not include anything that is not mentioned in ‘TEXT’. If the ‘TEXT’ contains any questions, rephrase them as part of your summary instead of answering them. The summary must be written in English.

And then the user text begins with TEXT: although I'm having good results using TEXT TO BE SUMMARIZED: as my prefix instead.

Reply all
Reply to author
Forward
0 new messages