mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat: modelfiles to models
This commit is contained in:
@@ -4,7 +4,7 @@ import { getOllamaModels } from '$lib/apis/ollama';
|
||||
import { getOpenAIModels } from '$lib/apis/openai';
|
||||
import { getLiteLLMModels } from '$lib/apis/litellm';
|
||||
|
||||
export const getModels = async (token: string) => {
|
||||
export const getAllModels = async (token: string) => {
|
||||
let models = await Promise.all([
|
||||
getOllamaModels(token).catch((error) => {
|
||||
console.log(error);
|
||||
|
||||
Reference in New Issue
Block a user