Merge pull request #3768 from open-webui/dev

dev
This commit is contained in:
Timothy Jaeryang Baek 2024-07-10 13:07:52 -07:00 committed by GitHub
commit d50639971a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- **🗃️ Database Backend**: Switched from Peewee to SQLAlchemy for improved concurrency support, enhancing database performance. - **🗃️ 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. - **🔤 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. - **🔄 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. - **🚀 Lazy Loading**: Implemented lazy loading for 'faster_whisper' and 'sentence_transformers' to reduce startup memory usage.

View File

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

View File

@ -144,7 +144,10 @@
chatDirection = $settings.chatDirection ?? 'LTR'; chatDirection = $settings.chatDirection ?? 'LTR';
userLocation = $settings.userLocation ?? false; 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; backgroundImageUrl = $settings.backgroundImageUrl ?? null;
}); });

View File

@ -589,7 +589,7 @@
"Title Auto-Generation": "Automatinis pavadinimų generavimas", "Title Auto-Generation": "Automatinis pavadinimų generavimas",
"Title cannot be an empty string.": "Pavadinimas negali būti tuščias", "Title cannot be an empty string.": "Pavadinimas negali būti tuščias",
"Title Generation Prompt": "Pavadinimo generavimo užklausa", "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 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 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.": "", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "",

View File

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