mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 15:47:49 +00:00
refac
This commit is contained in:
parent
0c43c1edf6
commit
9d9a60afec
@ -3,7 +3,7 @@ import { WEBUI_API_BASE_URL } from '$lib/constants';
|
||||
export const getModels = async (token: string = '') => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/models`, {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/models/`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
|
Loading…
Reference in New Issue
Block a user