You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constERR_LANGUAGEMODEL_API_NOT_DETECTED=`The LanguageModel API is not available. ${PROMPT_DOCS_INSTRUCTIONS}`;
7
7
constERR_LANGUAGEMODEL_MODEL_NOT_AVAILABLE=`The LanguageModel API is enabled, but the model download hasn't started yet, maybe awaiting device capability check. ${PROMPT_DOCS_INSTRUCTIONS}`;
8
+
constINFO_LANGUAGE_MODEL_DOWNLOADABLE="The model will be downloaded the first time the API is used.";
8
9
9
10
constERR_SUMMARIZER_API_NOT_DETECTED=`The Summarizer API is not available. ${WA_DOCS_INSTRUCTIONS}`;
10
11
constERR_SUMMARIZER_MODEL_NOT_AVAILABLE=`The Summarizer API is enabled, but the model download hasn't started yet, maybe awaiting device capability check. ${WA_DOCS_INSTRUCTIONS}`;
12
+
constINFO_SUMMARIZER_MODEL_DOWNLOADABLE="The model will be downloaded the first time the API is used.";
11
13
12
14
constERR_WRITER_API_NOT_DETECTED=`The Writer API is not available. ${WA_DOCS_INSTRUCTIONS}`;
13
15
constERR_WRITER_MODEL_NOT_AVAILABLE=`The Writer API is enabled, but the model download hasn't started yet, maybe awaiting device capability check. ${WA_DOCS_INSTRUCTIONS}`;
16
+
constINFO_WRITER_MODEL_DOWNLOADABLE="The model will be downloaded the first time the API is used.";
14
17
15
18
constERR_REWRITER_API_NOT_DETECTED=`The Rewriter API is not available. ${WA_DOCS_INSTRUCTIONS}`;
16
19
constERR_REWRITER_MODEL_NOT_AVAILABLE=`The Rewriter API is enabled, but the model download hasn't started yet, maybe awaiting device capability check. ${WA_DOCS_INSTRUCTIONS}`;
20
+
constINFO_REWRITER_MODEL_DOWNLOADABLE="The model will be downloaded the first time the API is used.";
17
21
18
22
constERR_TRANSLATOR_API_NOT_DETECTED=`The Translator API is not available. ${WA_DOCS_INSTRUCTIONS}`;
19
23
constERR_TRANSLATOR_MODEL_NOT_AVAILABLE=`The Translator API is enabled, but the model download hasn't started yet, maybe awaiting device capability check. ${TRANSLATOR_DOCS_INSTRUCTIONS}`;
24
+
constINFO_TRANSLATOR_MODEL_DOWNLOADABLE="The model for a specified language pair will be downloaded the first time the API is used.";
20
25
21
26
constERR_API_CAPABILITY_ERROR="Cannot create the session now. API availability error: ";
22
27
constERR_FAILED_CREATING_MODEL="Could not create the session. Error: ";
@@ -141,7 +146,7 @@ function getTranslatorAPI() {
141
146
// You can call these functions when the page loads if you want to display the status
142
147
// to the user early, so they know what to expect (e.g. if their browser supports the APIs).
143
148
// These functions don't trigger the model download and do not create sessions.
0 commit comments