forked from open-webui/open-webui
		
	fix: new chat default settings
This commit is contained in:
		
							parent
							
								
									83e8db9b6a
								
							
						
					
					
						commit
						734ba8f762
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -76,6 +76,13 @@ | |||
| 		selectedModels = $page.url.searchParams.get('models') | ||||
| 			? $page.url.searchParams.get('models')?.split(',') | ||||
| 			: $settings.models ?? ['']; | ||||
| 
 | ||||
| 		let _settings = JSON.parse(localStorage.getItem('settings') ?? '{}'); | ||||
| 		console.log(_settings); | ||||
| 		settings.set({ | ||||
| 			...$settings, | ||||
| 			..._settings | ||||
| 		}); | ||||
| 	}; | ||||
| 
 | ||||
| 	////////////////////////// | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek