Browse Source

Merge pull request #3768 from open-webui/dev

dev
Timothy Jaeryang Baek 10 months ago
parent
commit
d50639971a

+ 1 - 0
CHANGELOG.md

@@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Changed
 
 - **🗃️ Database Backend**: Switched from Peewee to SQLAlchemy for improved concurrency support, enhancing database performance.
+- **⬆️ ChromaDB Update**: Upgraded to version 0.5.3. Ensure your remote ChromaDB instance matches this version.
 - **🔤 Primary Font Styling**: Updated primary font to Archivo for better visual consistency.
 - **🔄 Font Change for Windows**: Replaced Arimo with Inter font for Windows users, improving readability.
 - **🚀 Lazy Loading**: Implemented lazy loading for 'faster_whisper' and 'sentence_transformers' to reduce startup memory usage.

+ 1 - 0
backend/requirements.txt

@@ -31,6 +31,7 @@ APScheduler==3.10.4
 openai
 anthropic
 google-generativeai==0.5.4
+tiktoken
 
 langchain==0.2.6
 langchain-community==0.2.6

+ 4 - 1
src/lib/components/chat/Settings/Interface.svelte

@@ -144,7 +144,10 @@
 		chatDirection = $settings.chatDirection ?? 'LTR';
 		userLocation = $settings.userLocation ?? false;
 
-		defaultModelId = ($settings?.models ?? ['']).at(0);
+		defaultModelId = $settings?.models?.at(0) ?? '';
+		if ($config?.default_models) {
+			defaultModelId = $config.default_models.split(',')[0];
+		}
 
 		backgroundImageUrl = $settings.backgroundImageUrl ?? null;
 	});

+ 1 - 1
src/lib/i18n/locales/lt-LT/translation.json

@@ -589,7 +589,7 @@
 	"Title Auto-Generation": "Automatinis pavadinimų generavimas",
 	"Title cannot be an empty string.": "Pavadinimas negali būti tuščias",
 	"Title Generation Prompt": "Pavadinimo generavimo užklausa",
-	"to": "kam",
+	"to": "➡️",
 	"To access the available model names for downloading,": "Tam, kad prieiti prie galimų parsisiųsti modelių",
 	"To access the GGUF models available for downloading,": "Tam, kad prieiti prie galimų parsisiųsti GGUF,",
 	"To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "",

+ 1 - 1
src/lib/stores/index.ts

@@ -139,7 +139,7 @@ type Config = {
 	name: string;
 	version: string;
 	default_locale: string;
-	default_models: string[];
+	default_models: string;
 	default_prompt_suggestions: PromptSuggestion[];
 	features: {
 		auth: boolean;