File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,11 @@ jobs:
8181 with :
8282 node-version : ' 22.11.0'
8383
84- - name : WebUI - Run lint
84+ - name : WebUI - Install dependencies
8585 id : webui_lint
8686 run : |
8787 cd examples/server/webui
8888 npm ci
89- npm run lint
9089
9190 - name : WebUI - Check code format
9291 id : webui_format
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " vite" ,
88 "build" : " tsc -b && vite build" ,
9- "format" : " prettier --write ." ,
9+ "format" : " eslint . && prettier --write ." ,
1010 "lint" : " eslint ." ,
1111 "preview" : " vite preview"
1212 },
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default function ChatScreen() {
4141 } , [ viewingConversation ?. id ] ) ;
4242
4343 const sendNewMessage = async ( ) => {
44- if ( inputMsg . trim ( ) . length === 0 ) return ;
44+ if ( inputMsg . trim ( ) . length === 0 || isGenerating ( currConvId ) ) return ;
4545 const convId = viewingConversation ?. id ?? StorageUtils . getNewConvId ( ) ;
4646 const lastInpMsg = inputMsg ;
4747 setInputMsg ( '' ) ;
You can’t perform that action at this time.
0 commit comments