feat: expand model icons, guard uploads, and handle seach env better
This commit is contained in:
@@ -179,6 +179,10 @@ watch(() => props.agent?.defaultModelId, (newModelId) => {
|
||||
})
|
||||
|
||||
const handleSubmit = () => {
|
||||
if (isUploading.value || hasFailedUploads.value) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (props.loading) {
|
||||
emit('cancel');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user