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