Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang BaekandClassic298 committed 2026-08-25 14:35:22 -04:00
1 parent 92a1502126
commit 8be4c5fa6a
5 files changed
+46 -25

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
import { WEBUI_BASE_URL } from '$lib/constants';
import { convertOpenApiToToolPayload } from '$lib/utils';
import { normalizeTags } from '$lib/utils/tags';
import { getOpenAIModelsDirect } from './openai';
const TOOL_SERVER_FETCH_TIMEOUT = 10000;
@@ -141,8 +142,8 @@ export const getModels = async (
}
}
const tags = apiConfig.tags;
if (tags) {
const tags = normalizeTags(apiConfig.tags);
if (tags.length > 0) {
for (const model of models) {
model.tags = tags;
}