chore: format

This commit is contained in:
Timothy Jaeryang Baek
2024-11-16 23:46:12 -08:00
parent c24bc60d35
commit c338f2cae1
64 changed files with 2668 additions and 1212 deletions

View File

@@ -1,6 +1,5 @@
import { WEBUI_API_BASE_URL } from '$lib/constants';
export const getModels = async (token: string = '') => {
let error = null;
@@ -32,8 +31,6 @@ export const getModels = async (token: string = '') => {
return res;
};
export const getBaseModels = async (token: string = '') => {
let error = null;
@@ -65,8 +62,6 @@ export const getBaseModels = async (token: string = '') => {
return res;
};
export const createNewModel = async (token: string, model: object) => {
let error = null;
@@ -96,8 +91,6 @@ export const createNewModel = async (token: string, model: object) => {
return res;
};
export const getModelById = async (token: string, id: string) => {
let error = null;
@@ -133,7 +126,6 @@ export const getModelById = async (token: string, id: string) => {
return res;
};
export const toggleModelById = async (token: string, id: string) => {
let error = null;
@@ -169,7 +161,6 @@ export const toggleModelById = async (token: string, id: string) => {
return res;
};
export const updateModelById = async (token: string, id: string, model: object) => {
let error = null;