feat: modelfile builder
This commit is contained in:
1 parent
1c0cc16f8c
commit
45ff3ae204
5 files changed
+640
-105
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user