mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
chore: format
This commit is contained in:
@@ -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