mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 22:37:38 -05:00
refac
This commit is contained in:
1 parent
c1faae570b
commit
d7b3d08b4f
14 files changed
+392
-358
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { getContext, tick } from 'svelte';
|
||||
import { models, mobile, settings, user, type Model } from '$lib/stores';
|
||||
import { models as _models, mobile, settings, user, type Model } from '$lib/stores';
|
||||
import Controls from '../Controls/Controls.svelte';
|
||||
import ChevronDown from '$lib/components/icons/ChevronDown.svelte';
|
||||
import Dropdown from '$lib/components/common/Dropdown.svelte';
|
||||
@@ -17,6 +17,8 @@
|
||||
import Knobs from '$lib/components/icons/Knobs.svelte';
|
||||
import { localizeModelControls, resolveLocalizedModelName } from '$lib/utils/localizedContent';
|
||||
|
||||
const models = getContext<typeof _models>('chatModels') ?? _models;
|
||||
|
||||
const i18n: any = getContext('i18n');
|
||||
export let selectedModels: string[] = [];
|
||||
export let chatFiles: any[] = [];
|
||||
|
||||
Reference in new issue
Block a user