chore: format
This commit is contained in:
1 parent
c24bc60d35
commit
c338f2cae1
64 files changed
+2668
-1212
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user