refac
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user