@@ -61,17 +61,17 @@ export class ChromeAdapterImpl implements ChromeAdapter {
6161  /** 
6262   * Checks if a given request can be made on-device. 
6363   * 
64-    * <ol>Encapsulates a few concerns: 
65-    *   <li>the mode</li> 
66-    *   <li>API existence</li> 
67-    *   <li>prompt formatting</li> 
68-    *   <li>model availability, including triggering download if necessary</li> 
69-    * </ol> 
64+    * Encapsulates a few concerns: 
65+    *   the mode 
66+    *   API existence 
67+    *   prompt formatting 
68+    *   model availability, including triggering download if necessary 
7069   * 
71-    * <p>Pros: callers needn't be concerned with details of on-device availability.</p> 
72-    * <p>Cons: this method spans a few concerns and splits request validation from usage. 
70+    * 
71+    * Pros: callers needn't be concerned with details of on-device availability.</p> 
72+    * Cons: this method spans a few concerns and splits request validation from usage. 
7373   * If instance variables weren't already part of the API, we could consider a better 
74-    * separation of concerns.</p>  
74+    * separation of concerns. 
7575   */ 
7676  async  isAvailable ( request : GenerateContentRequest ) : Promise < boolean >  { 
7777    if  ( ! this . mode )  { 
@@ -129,8 +129,9 @@ export class ChromeAdapterImpl implements ChromeAdapter {
129129  /** 
130130   * Generates content on device. 
131131   * 
132-    * <p>This is comparable to {@link  GenerativeModel.generateContent} for generating content in 
133-    * Cloud.</p> 
132+    * @remarks  
133+    * This is comparable to {@link  GenerativeModel.generateContent} for generating content in 
134+    * Cloud. 
134135   * @param  request - a standard Firebase AI {@link  GenerateContentRequest} 
135136   * @returns  {@link Response }, so we can reuse common response formatting. 
136137   */ 
@@ -149,8 +150,9 @@ export class ChromeAdapterImpl implements ChromeAdapter {
149150  /** 
150151   * Generates content stream on device. 
151152   * 
152-    * <p>This is comparable to {@link  GenerativeModel.generateContentStream} for generating content in 
153-    * Cloud.</p> 
153+    * @remarks  
154+    * This is comparable to {@link  GenerativeModel.generateContentStream} for generating content in 
155+    * Cloud. 
154156   * @param  request - a standard Firebase AI {@link  GenerateContentRequest} 
155157   * @returns  {@link Response }, so we can reuse common response formatting. 
156158   */ 
@@ -228,11 +230,11 @@ export class ChromeAdapterImpl implements ChromeAdapter {
228230  /** 
229231   * Triggers out-of-band download of an on-device model. 
230232   * 
231-    * <p> Chrome only downloads models as needed. Chrome knows a model is needed when code calls 
232-    * LanguageModel.create.</p>  
233+    * Chrome only downloads models as needed. Chrome knows a model is needed when code calls 
234+    * LanguageModel.create. 
233235   * 
234-    * <p> Since Chrome manages the download, the SDK can only avoid redundant download requests by 
235-    * tracking if a download has previously been requested.</p>  
236+    * Since Chrome manages the download, the SDK can only avoid redundant download requests by 
237+    * tracking if a download has previously been requested. 
236238   */ 
237239  private  download ( ) : void { 
238240    if  ( this . isDownloading )  { 
@@ -302,12 +304,12 @@ export class ChromeAdapterImpl implements ChromeAdapter {
302304  /** 
303305   * Abstracts Chrome session creation. 
304306   * 
305-    * <p> Chrome uses a multi-turn session for all inference. Firebase AI uses single-turn for all 
307+    * Chrome uses a multi-turn session for all inference. Firebase AI uses single-turn for all 
306308   * inference. To map the Firebase AI API to Chrome's API, the SDK creates a new session for all 
307-    * inference.</p>  
309+    * inference. 
308310   * 
309-    * <p> Chrome will remove a model from memory if it's no longer in use, so this method ensures a 
310-    * new session is created before an old session is destroyed.</p>  
311+    * Chrome will remove a model from memory if it's no longer in use, so this method ensures a 
312+    * new session is created before an old session is destroyed. 
311313   */ 
312314  private  async  createSession ( ) : Promise < LanguageModel >  { 
313315    if  ( ! this . languageModelProvider )  { 
0 commit comments