File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -273,22 +273,25 @@ export default function MessageInput({
273273 </ TabsList >
274274
275275 < div className = { "flex flex-row gap-3" } >
276- < Button
277- type = "submit"
278- size = "icon"
279- className = "rounded-full"
280- onClick = { handleUploadClick }
276+ { serverStatus !== "running" && < Button
277+ type = "submit"
278+ size = "icon"
279+ className = "rounded-full"
280+ onClick = { handleUploadClick }
281+ title = { "Upload File" }
281282 >
282- < Upload />
283- < span className = "sr-only" > Upload</ span >
283+ < Upload />
284+ < span className = "sr-only" > Upload</ span >
284285 </ Button >
286+ }
285287
286288 { inputMode === "text" && serverStatus !== "running" && (
287289 < Button
288290 type = "submit"
289291 disabled = { disabled || ! message . trim ( ) }
290292 size = "icon"
291293 className = "rounded-full"
294+ title = { "Send Message" }
292295 >
293296 < SendIcon />
294297 < span className = "sr-only" > Send</ span >
@@ -303,6 +306,7 @@ export default function MessageInput({
303306 onClick = { ( ) => {
304307 onSendMessage ( specialKeys . Escape , "raw" ) ;
305308 } }
309+ title = { "Interrupt" }
306310 >
307311 < Square />
308312 < span className = "sr-only" > Stop</ span >
You can’t perform that action at this time.
0 commit comments