Closed tmfksoft closed 9 months ago
Will look into this soon.
✅ Should be fixed now.
Pull down the latest version (git checkout main && git pull && yarn && yarn dev
in the ollama-gui folder), or use the web version by whitelisting the origin when starting ollama serve
:
OLLAMA_ORIGINS=https://ollama-gui.vercel.app ollama serve
When changing the API URL the settings are updated in localStorage but don't affect the chat client.
The API_BASE_URL appears to be hardcoded in src/services/api.ts
Jerry rigging it to
const API_BASE_URL = baseUrl.value || 'http://localhost:11434/api';
Allows it to work but I'm not familiar enough with Vue to know if this is the right way to do it. If it is, I'm willing to PR it.