This commit is contained in:
Timothy Jaeryang Baek 2024-11-19 16:50:45 -08:00
parent 0c43c1edf6
commit 9d9a60afec

View File

@ -3,7 +3,7 @@ import { WEBUI_API_BASE_URL } from '$lib/constants';
export const getModels = async (token: string = '') => { export const getModels = async (token: string = '') => {
let error = null; let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/models`, { const res = await fetch(`${WEBUI_API_BASE_URL}/models/`, {
method: 'GET', method: 'GET',
headers: { headers: {
Accept: 'application/json', Accept: 'application/json',