forked from open-webui/open-webui
		
	Merge branch 'main' into fix-openai-settings
This commit is contained in:
		
						commit
						b919ac76af
					
				
					 4 changed files with 40 additions and 21 deletions
				
			
		|  | @ -999,12 +999,12 @@ | |||
| 
 | ||||
| 						<hr class=" dark:border-gray-700" /> | ||||
| 						<div> | ||||
| 							<div class=" mb-2.5 text-sm font-medium">Ollama Server URL</div> | ||||
| 							<div class=" mb-2.5 text-sm font-medium">Ollama API URL</div> | ||||
| 							<div class="flex w-full"> | ||||
| 								<div class="flex-1 mr-2"> | ||||
| 									<input | ||||
| 										class="w-full rounded py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-800 outline-none" | ||||
| 										placeholder="Enter URL (e.g. http://localhost:11434/api)" | ||||
| 										placeholder="Enter URL (e.g. http://localhost:8080/ollama/api)" | ||||
| 										bind:value={API_BASE_URL} | ||||
| 									/> | ||||
| 								</div> | ||||
|  | @ -1030,7 +1030,10 @@ | |||
| 							</div> | ||||
| 
 | ||||
| 							<div class="mt-2 text-xs text-gray-400 dark:text-gray-500"> | ||||
| 								Trouble accessing Ollama? <a | ||||
| 								The field above should be set to <span | ||||
| 									class=" text-gray-500 dark:text-gray-300 font-medium">'/ollama/api'</span | ||||
| 								>; | ||||
| 								<a | ||||
| 									class=" text-gray-500 dark:text-gray-300 font-medium" | ||||
| 									href="https://github.com/ollama-webui/ollama-webui#troubleshooting" | ||||
| 									target="_blank" | ||||
|  |  | |||
|  | @ -249,6 +249,17 @@ | |||
| 								<br class=" hidden sm:flex" />(version | ||||
| 								<span class=" dark:text-white font-medium">{REQUIRED_OLLAMA_VERSION} or higher</span | ||||
| 								>) or check your connection. | ||||
| 
 | ||||
| 								<div class="mt-1 text-sm"> | ||||
| 									Trouble accessing Ollama? | ||||
| 									<a | ||||
| 										class=" text-black dark:text-white font-semibold underline" | ||||
| 										href="https://github.com/ollama-webui/ollama-webui#troubleshooting" | ||||
| 										target="_blank" | ||||
| 									> | ||||
| 										Click here for help. | ||||
| 									</a> | ||||
| 								</div> | ||||
| 							</div> | ||||
| 
 | ||||
| 							<div class=" mt-6 mx-auto relative group w-fit"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek