chore
This commit is contained in:
		
							parent
							
								
									4a5fceb014
								
							
						
					
					
						commit
						c4922ad1d4
					
				@ -93,6 +93,7 @@ const App: FC = observer(() => {
 | 
			
		||||
        }}
 | 
			
		||||
        position="top-center"
 | 
			
		||||
        autoClose={4000}
 | 
			
		||||
        pauseOnHover={true}
 | 
			
		||||
        hideProgressBar={true}
 | 
			
		||||
        newestOnTop={true}
 | 
			
		||||
        closeOnClick={false}
 | 
			
		||||
 | 
			
		||||
@ -94,6 +94,9 @@ export const RunButton: FC<{ onClickRun?: MouseEventHandler, iconMode?: boolean
 | 
			
		||||
                  commonStore.setModelStatus(ModelStatus.Offline);
 | 
			
		||||
                  toast(t('Failed to switch model'), {type: 'error'});
 | 
			
		||||
                }
 | 
			
		||||
              }).catch(() => {
 | 
			
		||||
                commonStore.setModelStatus(ModelStatus.Offline);
 | 
			
		||||
                toast(t('Failed to switch model'), {type: 'error'});
 | 
			
		||||
              });
 | 
			
		||||
            }
 | 
			
		||||
          }).catch(() => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user