forked from open-webui/open-webui
		
	doc: troubleshooting guide added
This commit is contained in:
		
							parent
							
								
									28ea56c95a
								
							
						
					
					
						commit
						7d0ec543b7
					
				
					 2 changed files with 32 additions and 1 deletions
				
			
		|  | @ -35,12 +35,15 @@ | |||
| 	}; | ||||
| 
 | ||||
| 	const checkOllamaConnection = async () => { | ||||
| 		if (API_BASE_URL === '') { | ||||
| 			API_BASE_URL = BUILD_TIME_API_BASE_URL; | ||||
| 		} | ||||
| 		const res = await getModelTags(API_BASE_URL); | ||||
| 
 | ||||
| 		if (res) { | ||||
| 			toast.success('Server connection verified'); | ||||
| 			saveSettings( | ||||
| 				API_BASE_URL === '' ? BUILD_TIME_API_BASE_URL : API_BASE_URL, | ||||
| 				API_BASE_URL, | ||||
| 				system != '' ? system : null, | ||||
| 				temperature != 0.8 ? temperature : null | ||||
| 			); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek