File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10471047 if ( ! isPending ) {
10481048 // Swap spinner icon → real avatar icon
10491049 const icon = last . querySelector ( '.model-icon' ) ;
1050- if ( icon ) { icon . classList . remove ( 'loading' ) ; icon . innerHTML = '✨' ; }
1050+ if ( icon ) { icon . classList . remove ( 'loading' ) ; }
10511051 }
10521052 } else {
10531053 addModelBubble ( text , isPending ) ;
34423442function addModelBubble ( text , isPending ) {
34433443 const wrap = document . createElement ( 'div' ) ;
34443444 wrap . className = 'bubble-wrap' ;
3445- wrap . innerHTML = `<div class="bubble model"><span class="model-icon${ isPending ?' loading' :'' } ">&# ${ isPending ? '0' : 10024 } ; </span><span class="model-text">${ escHtml ( text ) } </span></div>` ;
3445+ wrap . innerHTML = `<div class="bubble model"><span class="model-icon${ isPending ?' loading' :'' } "></span><span class="model-text">${ escHtml ( text ) } </span></div>` ;
34463446 document . getElementById ( 'chat-messages' ) . appendChild ( wrap ) ;
34473447 scrollToBottom ( ) ;
34483448}
You can’t perform that action at this time.
0 commit comments