char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
92d1bb0c9
char/aliceai-t5-moe
1export function portalToBody ( node :HTMLElement ) { 2if ( typeof document === 'undefined' ) { 3return ; 4} 5 6const target = document . body ; 7 8if ( ! target ) { 9return ; 10} 11 12target . appendChild ( node ); 13 14return { 15destroy () { 16if ( node . parentNode === target ) { 17target . removeChild ( node ); 18} 19} 20}; 21}