forked from open-webui/open-webui
feat: modelfile builder
This commit is contained in:
parent
1c0cc16f8c
commit
45ff3ae204
5 changed files with 640 additions and 105 deletions
|
@ -3,9 +3,7 @@ import { PUBLIC_API_BASE_URL } from '$env/static/public';
|
|||
|
||||
export const OLLAMA_API_BASE_URL =
|
||||
PUBLIC_API_BASE_URL === ''
|
||||
? dev
|
||||
? `http://${location.hostname}:8080/ollama/api`
|
||||
: browser
|
||||
? browser
|
||||
? `http://${location.hostname}:11434/api`
|
||||
: `http://localhost:11434/api`
|
||||
: PUBLIC_API_BASE_URL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue