Lint
This commit is contained in:
		
							parent
							
								
									7184d6663e
								
							
						
					
					
						commit
						0100e288e1
					
				| 
						 | 
				
			
			@ -10,7 +10,6 @@
 | 
			
		|||
    clearMessages,
 | 
			
		||||
    copyChat,
 | 
			
		||||
    getChatSettingValueNullDefault,
 | 
			
		||||
    setChatSettingValueByKey,
 | 
			
		||||
    saveCustomProfile,
 | 
			
		||||
    deleteCustomProfile,
 | 
			
		||||
    setGlobalSettingValueByKey,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,7 +78,7 @@ const defaults:ChatSettings = {
 | 
			
		|||
  useSystemPrompt: false,
 | 
			
		||||
  systemPrompt: '',
 | 
			
		||||
  autoStartSession: false,
 | 
			
		||||
  trainingPrompts: [],
 | 
			
		||||
  trainingPrompts: []
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const excludeFromProfile = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,7 +32,7 @@
 | 
			
		|||
      messages: [],
 | 
			
		||||
      usage: {} as Record<Model, Usage>,
 | 
			
		||||
      startSession: false,
 | 
			
		||||
      sessionStarted: false,
 | 
			
		||||
      sessionStarted: false
 | 
			
		||||
    })
 | 
			
		||||
    chatsStorage.set(chats)
 | 
			
		||||
    // Apply defaults and prepare it to start
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue