Timothy Jaeryang Baek 5 месяцев назад
Родитель
Сommit
9d9a60afec
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/apis/models/index.ts

+ 1 - 1
src/lib/apis/models/index.ts

@@ -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',