mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Merge remote-tracking branch 'upstream/dev' into feat/oauth
This commit is contained in:
@@ -2,6 +2,7 @@ import { APP_NAME } from '$lib/constants';
|
||||
import { type Writable, writable } from 'svelte/store';
|
||||
import type { GlobalModelConfig, ModelConfig } from '$lib/apis';
|
||||
import type { Banner } from '$lib/types';
|
||||
import type { Socket } from 'socket.io-client';
|
||||
|
||||
// Backend
|
||||
export const WEBUI_NAME = writable(APP_NAME);
|
||||
@@ -13,6 +14,10 @@ export const MODEL_DOWNLOAD_POOL = writable({});
|
||||
|
||||
export const mobile = writable(false);
|
||||
|
||||
export const socket: Writable<null | Socket> = writable(null);
|
||||
export const activeUserCount: Writable<null | number> = writable(null);
|
||||
export const USAGE_POOL: Writable<null | string[]> = writable(null);
|
||||
|
||||
export const theme = writable('system');
|
||||
export const chatId = writable('');
|
||||
|
||||
@@ -111,6 +116,7 @@ type AudioSettings = {
|
||||
TTSEngine?: string;
|
||||
speaker?: string;
|
||||
model?: string;
|
||||
nonLocalVoices?: boolean;
|
||||
};
|
||||
|
||||
type TitleSettings = {
|
||||
@@ -137,8 +143,9 @@ type Config = {
|
||||
default_prompt_suggestions: PromptSuggestion[];
|
||||
features: {
|
||||
auth: boolean;
|
||||
enable_signup: boolean;
|
||||
auth_trusted_header: boolean;
|
||||
enable_signup: boolean;
|
||||
enable_web_search?: boolean;
|
||||
enable_image_generation: boolean;
|
||||
enable_admin_export: boolean;
|
||||
enable_community_sharing: boolean;
|
||||
|
||||
Reference in New Issue
Block a user