fix: ollama custom url support

This commit is contained in:
Timothy J. Baek 2023-11-06 01:12:27 -08:00
parent c8cab48abf
commit 3b3b7fb46a
2 changed files with 38 additions and 33 deletions

View file

@ -65,7 +65,7 @@
if (API_BASE_URL === '') {
API_BASE_URL = BUILD_TIME_API_BASE_URL;
}
const res = await getModelTags(API_BASE_URL);
const res = await getModelTags(API_BASE_URL, 'ollama');
if (res) {
toast.success('Server connection verified');
@ -774,7 +774,7 @@
<div>
<a href="https://github.com/ollama-webui/ollama-webui">
<img
alt="followers"
alt="Github Repo"
src="https://img.shields.io/github/stars/ollama-webui/ollama-webui?style=social&label=Star us on Github"
/>
</a>