forked from open-webui/open-webui
		
	external ollama server support added
This commit is contained in:
		
							parent
							
								
									7cc79f01cf
								
							
						
					
					
						commit
						52c563c6a0
					
				
					 3 changed files with 4 additions and 3 deletions
				
			
		|  | @ -19,6 +19,7 @@ export const load: PageServerLoad = async ({ url }) => { | |||
| 		}); | ||||
| 
 | ||||
| 	return { | ||||
| 		models: models?.models ?? [] | ||||
| 		models: models?.models ?? [], | ||||
| 		ENDPOINT: ENDPOINT | ||||
| 	}; | ||||
| }; | ||||
|  |  | |||
|  | @ -8,13 +8,12 @@ | |||
| 	import 'highlight.js/styles/dark.min.css'; | ||||
| 
 | ||||
| 	import type { PageData } from './$types'; | ||||
| 	import { ENDPOINT } from '$lib/contants'; | ||||
| 	import { onMount, tick } from 'svelte'; | ||||
| 
 | ||||
| 	import { openDB, deleteDB } from 'idb'; | ||||
| 
 | ||||
| 	export let data: PageData; | ||||
| 	$: ({ models } = data); | ||||
| 	$: ({ models, ENDPOINT } = data); | ||||
| 	let textareaElement; | ||||
| 	let db; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek