File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2929 < div class ="history ">
3030 < div id ="new_chat "> New Chat</ div >
3131 < div id ="open_options "> Options</ div >
32- < div id ="theme_toggle "> Dark Mode 🌙 </ div >
32+ < div id ="theme_toggle "> Light Mode 🔆 </ div >
3333 < div id ="delete_history ">
3434 Delete:
3535 < label class ="switch ">
Original file line number Diff line number Diff line change @@ -3487,7 +3487,8 @@ function deletePrompt() {
34873487function updateChatPlaceholder ( ) {
34883488 let textarea_chat = document . querySelector ( "#ta_chat" ) ;
34893489 if ( model ) {
3490- textarea_chat . placeholder = `Ask ${ model } ` ;
3490+ let short_model_name = model . replace ( / .* \/ / , "" ) ; // eg.: moonshotai/kimi-k2-instruct > kimi-k2-instruct
3491+ textarea_chat . placeholder = `Ask ${ short_model_name } ` ;
34913492 } else {
34923493 textarea_chat . placeholder = 'Ask me something' ;
34933494 }
You can’t perform that action at this time.
0 commit comments