File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ const availableModels = webllm.prebuiltAppConfig.model_list
194194 . map ( ( m ) => m . model_id )
195195 . filter ( ( model_id ) => (
196196 model_id . startsWith ( 'Qwen2.5-7B' )
197- // || model_id.startsWith('Hermes-2-Pro-Llama')
197+ || model_id . startsWith ( 'Hermes-2-Pro-Llama' )
198198 || model_id . startsWith ( 'Hermes-3-Llama-3.1' )
199199 || ( model_id . startsWith ( 'Llama-3.1-8B-' ) && ! model_id . endsWith ( '-1k' ) )
200200// || model_id.startsWith('DeepSeek-R1-Distill-Llama-')
@@ -228,8 +228,9 @@ async function onMessageSend() {
228228 . setAttribute ( "placeholder" , "Generating..." ) ;
229229
230230 let done = false ;
231-
232- while ( ! done ) {
231+ let iter = 0 ;
232+ while ( ! done && item <= 3 ) {
233+ iter ++ ;
233234 document . getElementById ( "send" ) . disabled = true ;
234235
235236 const aiMessage = {
You can’t perform that action at this time.
0 commit comments