From b7d730e244a6c08612a1b327a3aad3a6700721f3 Mon Sep 17 00:00:00 2001 From: Igor Brai Date: Tue, 29 Oct 2024 16:45:38 +0200 Subject: [PATCH 01/83] add mojeek as websearch option --- backend/open_webui/apps/retrieval/main.py | 18 ++++++++ .../open_webui/apps/retrieval/web/mojeek.py | 41 +++++++++++++++++++ backend/open_webui/config.py | 6 +++ .../admin/Settings/WebSearch.svelte | 12 ++++++ 4 files changed, 77 insertions(+) create mode 100644 backend/open_webui/apps/retrieval/web/mojeek.py diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index e67d1df23..fa7bb5caa 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -28,6 +28,7 @@ from open_webui.apps.retrieval.loaders.main import Loader from open_webui.apps.retrieval.web.main import SearchResult from open_webui.apps.retrieval.web.utils import get_web_loader from open_webui.apps.retrieval.web.brave import search_brave +from open_webui.apps.retrieval.web.mojeek import search_mojeek from open_webui.apps.retrieval.web.duckduckgo import search_duckduckgo from open_webui.apps.retrieval.web.google_pse import search_google_pse from open_webui.apps.retrieval.web.jina_search import search_jina @@ -51,6 +52,7 @@ from open_webui.apps.retrieval.utils import ( from open_webui.apps.webui.models.files import Files from open_webui.config import ( BRAVE_SEARCH_API_KEY, + MOJEEK_SEARCH_API_KEY, TIKTOKEN_ENCODING_NAME, RAG_TEXT_SPLITTER, CHUNK_OVERLAP, @@ -164,6 +166,7 @@ app.state.config.SEARXNG_QUERY_URL = SEARXNG_QUERY_URL app.state.config.GOOGLE_PSE_API_KEY = GOOGLE_PSE_API_KEY app.state.config.GOOGLE_PSE_ENGINE_ID = GOOGLE_PSE_ENGINE_ID app.state.config.BRAVE_SEARCH_API_KEY = BRAVE_SEARCH_API_KEY +app.state.config.MOJEEK_SEARCH_API_KEY = MOJEEK_SEARCH_API_KEY app.state.config.SERPSTACK_API_KEY = SERPSTACK_API_KEY app.state.config.SERPSTACK_HTTPS = SERPSTACK_HTTPS app.state.config.SERPER_API_KEY = SERPER_API_KEY @@ -419,6 +422,7 @@ async def get_rag_config(user=Depends(get_admin_user)): "google_pse_api_key": app.state.config.GOOGLE_PSE_API_KEY, "google_pse_engine_id": app.state.config.GOOGLE_PSE_ENGINE_ID, "brave_search_api_key": app.state.config.BRAVE_SEARCH_API_KEY, + "mojeek_search_api_key": app.state.config.MOJEEK_SEARCH_API_KEY, "serpstack_api_key": app.state.config.SERPSTACK_API_KEY, "serpstack_https": app.state.config.SERPSTACK_HTTPS, "serper_api_key": app.state.config.SERPER_API_KEY, @@ -461,6 +465,7 @@ class WebSearchConfig(BaseModel): google_pse_api_key: Optional[str] = None google_pse_engine_id: Optional[str] = None brave_search_api_key: Optional[str] = None + mojeek_search_api_key: Optional[str] = None serpstack_api_key: Optional[str] = None serpstack_https: Optional[bool] = None serper_api_key: Optional[str] = None @@ -527,6 +532,7 @@ async def update_rag_config(form_data: ConfigUpdateForm, user=Depends(get_admin_ app.state.config.BRAVE_SEARCH_API_KEY = ( form_data.web.search.brave_search_api_key ) + app.state.config.MOJEEK_SEARCH_API_KEY = form_data.web.search.mojeek_search_api_key app.state.config.SERPSTACK_API_KEY = form_data.web.search.serpstack_api_key app.state.config.SERPSTACK_HTTPS = form_data.web.search.serpstack_https app.state.config.SERPER_API_KEY = form_data.web.search.serper_api_key @@ -568,6 +574,7 @@ async def update_rag_config(form_data: ConfigUpdateForm, user=Depends(get_admin_ "google_pse_api_key": app.state.config.GOOGLE_PSE_API_KEY, "google_pse_engine_id": app.state.config.GOOGLE_PSE_ENGINE_ID, "brave_search_api_key": app.state.config.BRAVE_SEARCH_API_KEY, + "mojeek_search_api_key": app.state.config.MOJEEK_SEARCH_API_KEY, "serpstack_api_key": app.state.config.SERPSTACK_API_KEY, "serpstack_https": app.state.config.SERPSTACK_HTTPS, "serper_api_key": app.state.config.SERPER_API_KEY, @@ -1028,6 +1035,7 @@ def search_web(engine: str, query: str) -> list[SearchResult]: - SEARXNG_QUERY_URL - GOOGLE_PSE_API_KEY + GOOGLE_PSE_ENGINE_ID - BRAVE_SEARCH_API_KEY + - MOJEEK_SEARCH_API_KEY - SERPSTACK_API_KEY - SERPER_API_KEY - SERPLY_API_KEY @@ -1074,6 +1082,16 @@ def search_web(engine: str, query: str) -> list[SearchResult]: ) else: raise Exception("No BRAVE_SEARCH_API_KEY found in environment variables") + elif engine == "mojeek": + if app.state.config.MOJEEK_SEARCH_API_KEY: + return search_mojeek( + app.state.config.MOJEEK_SEARCH_API_KEY, + query, + app.state.config.RAG_WEB_SEARCH_RESULT_COUNT, + app.state.config.RAG_WEB_SEARCH_DOMAIN_FILTER_LIST, + ) + else: + raise Exception("No MOJEEK_SEARCH_API_KEY found in environment variables") elif engine == "serpstack": if app.state.config.SERPSTACK_API_KEY: return search_serpstack( diff --git a/backend/open_webui/apps/retrieval/web/mojeek.py b/backend/open_webui/apps/retrieval/web/mojeek.py new file mode 100644 index 000000000..46a6526c7 --- /dev/null +++ b/backend/open_webui/apps/retrieval/web/mojeek.py @@ -0,0 +1,41 @@ +import logging +from typing import Optional + +import requests +from open_webui.apps.retrieval.web.main import SearchResult, get_filtered_results +from open_webui.env import SRC_LOG_LEVELS + +log = logging.getLogger(__name__) +log.setLevel(SRC_LOG_LEVELS["RAG"]) + + +def search_mojeek( + api_key: str, query: str, count: int, filter_list: Optional[list[str]] = None +) -> list[SearchResult]: + """Search using Mojeek's Search API and return the results as a list of SearchResult objects. + + Args: + api_key (str): A Mojeek Search API key + query (str): The query to search for + """ + url = "https://api.mojeek.com/search" + headers = { + "Accept": "application/json", + } + params = {"q": query, "api_key": api_key, 'fmt': 'json', 't': count} + + response = requests.get(url, headers=headers, params=params) + response.raise_for_status() + json_response = response.json() + results = json_response.get("response", {}).get("results", []) + print(results) + if filter_list: + results = get_filtered_results(results, filter_list) + + + return [ + SearchResult( + link=result["url"], title=result.get("title"), snippet=result.get("desc") + ) + for result in results + ] \ No newline at end of file diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 9d1bd72d8..9340f4bf2 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -1186,6 +1186,12 @@ BRAVE_SEARCH_API_KEY = PersistentConfig( os.getenv("BRAVE_SEARCH_API_KEY", ""), ) +MOJEEK_SEARCH_API_KEY = PersistentConfig( + "MOJEEK_SEARCH_API_KEY", + "rag.web.search.MOJEEK_search_api_key", + os.getenv("MOJEEK_SEARCH_API_KEY", ""), +) + SERPSTACK_API_KEY = PersistentConfig( "SERPSTACK_API_KEY", "rag.web.search.serpstack_api_key", diff --git a/src/lib/components/admin/Settings/WebSearch.svelte b/src/lib/components/admin/Settings/WebSearch.svelte index 69f1f9104..efbb8e0d2 100644 --- a/src/lib/components/admin/Settings/WebSearch.svelte +++ b/src/lib/components/admin/Settings/WebSearch.svelte @@ -16,6 +16,7 @@ 'searxng', 'google_pse', 'brave', + 'mojeek', 'serpstack', 'serper', 'serply', @@ -150,6 +151,17 @@ bind:value={webConfig.search.brave_search_api_key} /> + {:else if webConfig.search.engine === 'mojeek'} +
+
+ {$i18n.t('Mojeek Search API Key')} +
+ + +
{:else if webConfig.search.engine === 'serpstack'}
From 02d02b05182f19ef2e31f49d923b865bdb6573c3 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 12:11:38 -0800 Subject: [PATCH 02/83] doc: changelog --- CHANGELOG.md | 9 +++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2be2e872f..1bcc2d4d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.2] - 2024-11-20 + +### Fixed + +- **📁 Knowledge Files Visibility Issue**: Resolved the bug preventing individual files in knowledge collections from displaying when referenced from `#`. +- **🔗 OpenAI Endpoint Prefix**: Fixed the issue where certain OpenAI connections that deviate from the official API spec weren’t working correctly with prefixes. +- **⚔️ Arena Model Access Control**: Corrected an issue where arena model access control settings were not being saved. +- **🔧 Usage Capability Selector**: Fixed the broken usage capabilities selector in the model editor. + ## [0.4.1] - 2024-11-19 ### Added diff --git a/package-lock.json b/package-lock.json index d2114a6ac..0d310e9b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.4.1", + "version": "0.4.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.4.1", + "version": "0.4.2", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index 47e232773..1b6e4cddc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.4.1", + "version": "0.4.2", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", From 99c5cf1a00835eefbe21e3c3e05be88a568d26a3 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 12:23:31 -0800 Subject: [PATCH 03/83] doc: wording --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bcc2d4d8..2b6ec226e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- **📁 Knowledge Files Visibility Issue**: Resolved the bug preventing individual files in knowledge collections from displaying when referenced from `#`. +- **📁 Knowledge Files Visibility Issue**: Resolved the bug preventing individual files in knowledge collections from displaying when referenced with '#'. - **🔗 OpenAI Endpoint Prefix**: Fixed the issue where certain OpenAI connections that deviate from the official API spec weren’t working correctly with prefixes. - **⚔️ Arena Model Access Control**: Corrected an issue where arena model access control settings were not being saved. - **🔧 Usage Capability Selector**: Fixed the broken usage capabilities selector in the model editor. From 9b03b1a4532be3b2d32ba05ca857929eee49637d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 12:24:07 -0800 Subject: [PATCH 04/83] doc: readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d61077bd..4ac495a47 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Open WebUI is an [extensible](https://github.com/open-webui/pipelines), feature- - 🤝 **Ollama/OpenAI API Integration**: Effortlessly integrate OpenAI-compatible APIs for versatile conversations alongside Ollama models. Customize the OpenAI API URL to link with **LMStudio, GroqCloud, Mistral, OpenRouter, and more**. -- 🧩 **Pipelines, Open WebUI Plugin Support**: Seamlessly integrate custom logic and Python libraries into Open WebUI using [Pipelines Plugin Framework](https://github.com/open-webui/pipelines). Launch your Pipelines instance, set the OpenAI URL to the Pipelines URL, and explore endless possibilities. [Examples](https://github.com/open-webui/pipelines/tree/main/examples) include **Function Calling**, User **Rate Limiting** to control access, **Usage Monitoring** with tools like Langfuse, **Live Translation with LibreTranslate** for multilingual support, **Toxic Message Filtering** and much more. +- 🛡️ **Granular Permissions and User Groups**: By allowing administrators to create detailed user roles and permissions, we ensure a secure user environment. This granularity not only enhances security but also allows for customized user experiences, fostering a sense of ownership and responsibility amongst users. - 📱 **Responsive Design**: Enjoy a seamless experience across Desktop PC, Laptop, and Mobile devices. @@ -49,6 +49,8 @@ Open WebUI is an [extensible](https://github.com/open-webui/pipelines), feature- - 🌐🌍 **Multilingual Support**: Experience Open WebUI in your preferred language with our internationalization (i18n) support. Join us in expanding our supported languages! We're actively seeking contributors! +- 🧩 **Pipelines, Open WebUI Plugin Support**: Seamlessly integrate custom logic and Python libraries into Open WebUI using [Pipelines Plugin Framework](https://github.com/open-webui/pipelines). Launch your Pipelines instance, set the OpenAI URL to the Pipelines URL, and explore endless possibilities. [Examples](https://github.com/open-webui/pipelines/tree/main/examples) include **Function Calling**, User **Rate Limiting** to control access, **Usage Monitoring** with tools like Langfuse, **Live Translation with LibreTranslate** for multilingual support, **Toxic Message Filtering** and much more. + - 🌟 **Continuous Updates**: We are committed to improving Open WebUI with regular updates, fixes, and new features. Want to learn more about Open WebUI's features? Check out our [Open WebUI documentation](https://docs.openwebui.com/features) for a comprehensive overview! From e30c5e628c69884e7baf40a224f047836f87e471 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 22:46:51 -0800 Subject: [PATCH 05/83] refac: rich text input --- package-lock.json | 895 +++++++++++++++++- package.json | 7 + src/app.css | 27 +- src/lib/components/chat/MessageInput.svelte | 71 +- .../components/common/RichTextInput.svelte | 556 +++-------- 5 files changed, 1071 insertions(+), 485 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d310e9b4..f3feac815 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,12 @@ "@mediapipe/tasks-vision": "^0.10.17", "@pyscript/core": "^0.4.32", "@sveltejs/adapter-node": "^2.0.0", + "@tiptap/core": "^2.10.0", + "@tiptap/extension-highlight": "^2.10.0", + "@tiptap/extension-placeholder": "^2.10.0", + "@tiptap/extension-typography": "^2.10.0", + "@tiptap/pm": "^2.10.0", + "@tiptap/starter-kit": "^2.10.0", "@xyflow/svelte": "^0.1.19", "async": "^3.2.5", "bits-ui": "^0.19.7", @@ -73,6 +79,7 @@ "postcss": "^8.4.31", "prettier": "^3.3.3", "prettier-plugin-svelte": "^3.2.6", + "sass-embedded": "^1.81.0", "svelte": "^4.2.18", "svelte-check": "^3.8.5", "svelte-confetti": "^1.3.2", @@ -136,6 +143,13 @@ "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-6.0.4.tgz", "integrity": "sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==" }, + "node_modules/@bufbuild/protobuf": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.2.tgz", + "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==", + "devOptional": true, + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, "node_modules/@codemirror/autocomplete": { "version": "6.16.2", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.16.2.tgz", @@ -1901,6 +1915,12 @@ "type-checked-collections": "^0.1.7" } }, + "node_modules/@remirror/core-constants": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@remirror/core-constants/-/core-constants-3.0.0.tgz", + "integrity": "sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==", + "license": "MIT" + }, "node_modules/@rollup/plugin-commonjs": { "version": "25.0.7", "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.7.tgz", @@ -2326,6 +2346,374 @@ "tailwindcss": ">=3.0.0 || insiders" } }, + "node_modules/@tiptap/core": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.10.0.tgz", + "integrity": "sha512-58nAjPxLRFcXepdDqQRC1mhrw6E8Sanqr6bbO4Tz0+FWgDJMZvHG+dOK5wHaDVNSgK2iJDz08ETvQayfOOgDvg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-blockquote": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.10.0.tgz", + "integrity": "sha512-6Xmfo2lpfIRcbfkLD/NGX4YgQqfgAbu6XaZQZf5oGtHLPTrz4D7Mw20GgNBHzae2XwUCwLMt6zXOkBgU/LnlZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-bold": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.10.0.tgz", + "integrity": "sha512-1wL8UI1Aii0u2cbDEvwyqsZb2pgBt8HLJdsIax/ELoF2tKCD5821nElqTGLBBg4pUGPa0ru9ZemuL8GdXZp3Qg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-bullet-list": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.10.0.tgz", + "integrity": "sha512-Cl+DGu6D3SgF/hlKUDNet3gaZFy6cPEonOOkHwzXoybDXXdddFbaTvt9MLkBRUR3ldksXuVRP2/LwZsK5WyxJQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-code": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.10.0.tgz", + "integrity": "sha512-8JznKG1Jmv8gJezZGPoka8oRmfrcAAnMEOeMpKXjwMrIbQ6QynTZpqMGGVL1kfkZlLV84PYm+CGjGgjSsT4iZw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-code-block": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.10.0.tgz", + "integrity": "sha512-QH+LP7L1s1EJlrDFnfgOP0q+Siqt0Zbkx4ICMcUGvEsycl53Ti8P0DRW7fAjRISdTCItuWJYvtmiYY7O3rYb+Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-document": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.10.0.tgz", + "integrity": "sha512-vseMW3EKiQAPgdbN48Y8F0nRqWhhrAo9DLacAfP7tu0x3uv44uotNjDBtAgp5QmJmqQVyrEdkLSZaU5vFzduhQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-dropcursor": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.10.0.tgz", + "integrity": "sha512-tifxp/a3NxTjLAuYBx9XAwVo4MSDoY/mQ8E18QtuXj0vuieCFxd8Bkyre0otubIAAQePXLTVGQoxPrKmMAa+Jg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-gapcursor": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.10.0.tgz", + "integrity": "sha512-GViEnSnEBE74k7SYdXrQ4aXlKmWkrd9awdj/TgDSORgpZ4Dfyqtn+ENIWWby4NhL+BPM9P5hGCjkQXZsi6JKOw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-hard-break": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.10.0.tgz", + "integrity": "sha512-NL/xPYUhhvQyCnOO5Yn+BlBOMLC1ru32nw7ox12TShGmaeKBrnV0DhzBRkyJU0MqCS26oWjieNPxfu0lR3oMSA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-heading": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.10.0.tgz", + "integrity": "sha512-x2Uj5wrAHFaUdlChwLoQVmWtzZCuNyJpBRA19kA4idWL5z+6cIrUWepvwVBxA8ou6ictbzWW15o+blKtW7DlqA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-highlight": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-highlight/-/extension-highlight-2.10.0.tgz", + "integrity": "sha512-HU8UuKU7ljlzNn7jg29pM8QtIX7QvePcBjcWAt6K3qVwF1cbBNguIjKRY2rmoonU2nu8I6GknQNgV847kZifCQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-history": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.10.0.tgz", + "integrity": "sha512-5aYOmxqaCnw7e7wmWqFZmkpYCxxDjEzFbgVI6WknqNwqeOizR4+YJf3aAt/lTbksLJe47XF+NBX51gOm/ZBCiw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-horizontal-rule": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.10.0.tgz", + "integrity": "sha512-el1SzI/x/h4HW8UltxJlyMSrRsO55ypKPLQHJC9h7F6kTTR31fJUzQa3AeTFrZvXS0kNHIFRpAMstw+N0L5TYg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-italic": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.10.0.tgz", + "integrity": "sha512-MqPYbHAEeO8QBvZRIkF4J2OTf/uiUPzUiXGLJ50w1ozfMBIw1txMvfR3g2cpwfvZlcOgYTgy7M0Oq00nQz5eXg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-list-item": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.10.0.tgz", + "integrity": "sha512-BxC6NNHd2xcC+mk5hpYWURUdj/mRz6TGFwH5CsyrUXPxApx0+V+EPHaAgdpu8dr+jtTEzjXF62V6e2JmOAPimg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-ordered-list": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.10.0.tgz", + "integrity": "sha512-jsK+mvzs7HmxQuQOU3HgIga+v7zUbQlmSP4/danusqUihJ+lc1n0frDCIkVvJrnSB3FChvNgT6ZEA14HOhdJzg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-paragraph": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.10.0.tgz", + "integrity": "sha512-4LUkVaJYjNdNZ7QOX6TRcA+m7oCtyrLGk49G22wl7XcPBkQPILP1mCUCU4f41bhjfhCgK5PPWP63kMtD+cEACg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-placeholder": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.10.0.tgz", + "integrity": "sha512-1o6azk2plgYAFgMrV3prnBb1NZjl2V1T3wwnH4n3/h9z9lJ0v5BBAk9r+TRYSrcdXknwwHAWFYnQe6dc9buG2g==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/pm": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-strike": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.10.0.tgz", + "integrity": "sha512-SxApLJMQkxnmPGR3lwaskvLK61yI+Bu9hGZGdwMZqNh6o3LoDOxDaXjHD5joeMYQiqQrBE9zg46506MsXtrU7Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-text": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.10.0.tgz", + "integrity": "sha512-SSnNncADS1KucdEcJlF6WGCs5+1pAhPrD68vlw34oj3NDT3Zh05KiyXsCV3Nw4wpHOnbWahV+z3uT2SnR+xgoQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-text-style": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-text-style/-/extension-text-style-2.10.0.tgz", + "integrity": "sha512-VZtH1dp64wg1UcFtUPpRQK+kOm4JHBIv+WXuKX7EnpIEKjHKnyfV94BBVmaqY5UE4n3kbkkmIRB2Cmix/10AMg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/extension-typography": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-typography/-/extension-typography-2.10.0.tgz", + "integrity": "sha512-03IOfJm4bk2hZ4SsSfxgBOVzcDxMRBlFD7ZY12H2EGNf1TKxj/0ANWhAH54FtquuOMoY5aWg5LZf0lk++8UDAw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0" + } + }, + "node_modules/@tiptap/pm": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.10.0.tgz", + "integrity": "sha512-ohshlWf4MlW6D3rQkNQnhmiQ2w4pwRoQcJmTPt8UJoIDGkeKmZh494fQp4Aeh80XuGd81SsCv//1HJeyaeHJYQ==", + "license": "MIT", + "dependencies": { + "prosemirror-changeset": "^2.2.1", + "prosemirror-collab": "^1.3.1", + "prosemirror-commands": "^1.6.2", + "prosemirror-dropcursor": "^1.8.1", + "prosemirror-gapcursor": "^1.3.2", + "prosemirror-history": "^1.4.1", + "prosemirror-inputrules": "^1.4.0", + "prosemirror-keymap": "^1.2.2", + "prosemirror-markdown": "^1.13.1", + "prosemirror-menu": "^1.2.4", + "prosemirror-model": "^1.23.0", + "prosemirror-schema-basic": "^1.2.3", + "prosemirror-schema-list": "^1.4.1", + "prosemirror-state": "^1.4.3", + "prosemirror-tables": "^1.6.1", + "prosemirror-trailing-node": "^3.0.0", + "prosemirror-transform": "^1.10.2", + "prosemirror-view": "^1.36.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + } + }, + "node_modules/@tiptap/starter-kit": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-2.10.0.tgz", + "integrity": "sha512-hMIM9a6HjYZo25EzhZHlKEIR7CFi0grRSOltEyggiyBuQqKFkI7iwCpZVVtviDV1FwV0EPANpIAxPS7aBRgFdg==", + "license": "MIT", + "dependencies": { + "@tiptap/core": "^2.10.0", + "@tiptap/extension-blockquote": "^2.10.0", + "@tiptap/extension-bold": "^2.10.0", + "@tiptap/extension-bullet-list": "^2.10.0", + "@tiptap/extension-code": "^2.10.0", + "@tiptap/extension-code-block": "^2.10.0", + "@tiptap/extension-document": "^2.10.0", + "@tiptap/extension-dropcursor": "^2.10.0", + "@tiptap/extension-gapcursor": "^2.10.0", + "@tiptap/extension-hard-break": "^2.10.0", + "@tiptap/extension-heading": "^2.10.0", + "@tiptap/extension-history": "^2.10.0", + "@tiptap/extension-horizontal-rule": "^2.10.0", + "@tiptap/extension-italic": "^2.10.0", + "@tiptap/extension-list-item": "^2.10.0", + "@tiptap/extension-ordered-list": "^2.10.0", + "@tiptap/extension-paragraph": "^2.10.0", + "@tiptap/extension-strike": "^2.10.0", + "@tiptap/extension-text": "^2.10.0", + "@tiptap/extension-text-style": "^2.10.0", + "@tiptap/pm": "^2.10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + } + }, "node_modules/@types/cookie": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", @@ -3425,6 +3813,13 @@ "ieee754": "^1.2.1" } }, + "node_modules/buffer-builder": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/buffer-builder/-/buffer-builder-0.2.0.tgz", + "integrity": "sha512-7VPMEPuYznPSoR21NE1zvd2Xna6c/CloiZCfcMXR1Jny6PjX0N4Nsa38zcBFo/FMK+BlA+FLKbJCQ0i2yxp+Xg==", + "devOptional": true, + "license": "MIT/X11" + }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -3898,6 +4293,13 @@ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, + "node_modules/colorjs.io": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/colorjs.io/-/colorjs.io-0.5.2.tgz", + "integrity": "sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==", + "devOptional": true, + "license": "MIT" + }, "node_modules/colors": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", @@ -5047,7 +5449,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, "engines": { "node": ">=10" }, @@ -5978,7 +6379,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, + "devOptional": true, "engines": { "node": ">=8" } @@ -6241,6 +6642,13 @@ "node": ">= 4" } }, + "node_modules/immutable": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz", + "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==", + "devOptional": true, + "license": "MIT" + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -8604,14 +9012,33 @@ "node": "10.* || >= 12.*" } }, + "node_modules/prosemirror-changeset": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prosemirror-changeset/-/prosemirror-changeset-2.2.1.tgz", + "integrity": "sha512-J7msc6wbxB4ekDFj+n9gTW/jav/p53kdlivvuppHsrZXCaQdVgRghoZbSS3kwrRyAstRVQ4/+u5k7YfLgkkQvQ==", + "license": "MIT", + "dependencies": { + "prosemirror-transform": "^1.0.0" + } + }, + "node_modules/prosemirror-collab": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/prosemirror-collab/-/prosemirror-collab-1.3.1.tgz", + "integrity": "sha512-4SnynYR9TTYaQVXd/ieUvsVV4PDMBzrq2xPUWutHivDuOshZXqQ5rGbZM84HEaXKbLdItse7weMGOUdDVcLKEQ==", + "license": "MIT", + "dependencies": { + "prosemirror-state": "^1.0.0" + } + }, "node_modules/prosemirror-commands": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.6.0.tgz", - "integrity": "sha512-xn1U/g36OqXn2tn5nGmvnnimAj/g1pUx2ypJJIe8WkVX83WyJVC5LTARaxZa2AtQRwntu9Jc5zXs9gL9svp/mg==", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.6.2.tgz", + "integrity": "sha512-0nDHH++qcf/BuPLYvmqZTUUsPJUCPBUXt0J1ErTcDIS369CTp773itzLGIgIXG4LJXOlwYCr44+Mh4ii6MP1QA==", + "license": "MIT", "dependencies": { "prosemirror-model": "^1.0.0", "prosemirror-state": "^1.0.0", - "prosemirror-transform": "^1.0.0" + "prosemirror-transform": "^1.10.2" } }, "node_modules/prosemirror-dropcursor": { @@ -8737,18 +9164,48 @@ "prosemirror-view": "^1.27.0" } }, + "node_modules/prosemirror-tables": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.6.1.tgz", + "integrity": "sha512-p8WRJNA96jaNQjhJolmbxTzd6M4huRE5xQ8OxjvMhQUP0Nzpo4zz6TztEiwk6aoqGBhz9lxRWR1yRZLlpQN98w==", + "license": "MIT", + "dependencies": { + "prosemirror-keymap": "^1.1.2", + "prosemirror-model": "^1.8.1", + "prosemirror-state": "^1.3.1", + "prosemirror-transform": "^1.2.1", + "prosemirror-view": "^1.13.3" + } + }, + "node_modules/prosemirror-trailing-node": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prosemirror-trailing-node/-/prosemirror-trailing-node-3.0.0.tgz", + "integrity": "sha512-xiun5/3q0w5eRnGYfNlW1uU9W6x5MoFKWwq/0TIRgt09lv7Hcser2QYV8t4muXbEr+Fwo0geYn79Xs4GKywrRQ==", + "license": "MIT", + "dependencies": { + "@remirror/core-constants": "3.0.0", + "escape-string-regexp": "^4.0.0" + }, + "peerDependencies": { + "prosemirror-model": "^1.22.1", + "prosemirror-state": "^1.4.2", + "prosemirror-view": "^1.33.8" + } + }, "node_modules/prosemirror-transform": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.10.0.tgz", - "integrity": "sha512-9UOgFSgN6Gj2ekQH5CTDJ8Rp/fnKR2IkYfGdzzp5zQMFsS4zDllLVx/+jGcX86YlACpG7UR5fwAXiWzxqWtBTg==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.10.2.tgz", + "integrity": "sha512-2iUq0wv2iRoJO/zj5mv8uDUriOHWzXRnOTVgCzSXnktS/2iQRa3UUQwVlkBlYZFtygw6Nh1+X4mGqoYBINn5KQ==", + "license": "MIT", "dependencies": { "prosemirror-model": "^1.21.0" } }, "node_modules/prosemirror-view": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.34.3.tgz", - "integrity": "sha512-mKZ54PrX19sSaQye+sef+YjBbNu2voNwLS1ivb6aD2IRmxRGW64HU9B644+7OfJStGLyxvOreKqEgfvXa91WIA==", + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.36.0.tgz", + "integrity": "sha512-U0GQd5yFvV5qUtT41X1zCQfbw14vkbbKwLlQXhdylEmgpYVHkefXYcC4HHwWOfZa3x6Y8wxDLUBv7dxN5XQ3nA==", + "license": "MIT", "dependencies": { "prosemirror-model": "^1.20.0", "prosemirror-state": "^1.0.0", @@ -9236,7 +9693,7 @@ "version": "7.8.1", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, + "devOptional": true, "dependencies": { "tslib": "^2.1.0" } @@ -9329,6 +9786,387 @@ "rimraf": "bin.js" } }, + "node_modules/sass-embedded": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded/-/sass-embedded-1.81.0.tgz", + "integrity": "sha512-uZQ2Faxb1oWBHpeSSzjxnhClbMb3QadN0ql0ZFNuqWOLUxwaVhrMlMhPq6TDPbbfDUjihuwrMCuy695Bgna5RA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@bufbuild/protobuf": "^2.0.0", + "buffer-builder": "^0.2.0", + "colorjs.io": "^0.5.0", + "immutable": "^5.0.2", + "rxjs": "^7.4.0", + "supports-color": "^8.1.1", + "sync-child-process": "^1.0.2", + "varint": "^6.0.0" + }, + "bin": { + "sass": "dist/bin/sass.js" + }, + "engines": { + "node": ">=16.0.0" + }, + "optionalDependencies": { + "sass-embedded-android-arm": "1.81.0", + "sass-embedded-android-arm64": "1.81.0", + "sass-embedded-android-ia32": "1.81.0", + "sass-embedded-android-riscv64": "1.81.0", + "sass-embedded-android-x64": "1.81.0", + "sass-embedded-darwin-arm64": "1.81.0", + "sass-embedded-darwin-x64": "1.81.0", + "sass-embedded-linux-arm": "1.81.0", + "sass-embedded-linux-arm64": "1.81.0", + "sass-embedded-linux-ia32": "1.81.0", + "sass-embedded-linux-musl-arm": "1.81.0", + "sass-embedded-linux-musl-arm64": "1.81.0", + "sass-embedded-linux-musl-ia32": "1.81.0", + "sass-embedded-linux-musl-riscv64": "1.81.0", + "sass-embedded-linux-musl-x64": "1.81.0", + "sass-embedded-linux-riscv64": "1.81.0", + "sass-embedded-linux-x64": "1.81.0", + "sass-embedded-win32-arm64": "1.81.0", + "sass-embedded-win32-ia32": "1.81.0", + "sass-embedded-win32-x64": "1.81.0" + } + }, + "node_modules/sass-embedded-android-arm": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm/-/sass-embedded-android-arm-1.81.0.tgz", + "integrity": "sha512-NWEmIuaIEsGFNsIRa+5JpIpPJyZ32H15E85CNZqEIhhwWlk9UNw7vlOCmTH8MtabtnACwC/2NG8VyNa3nxKzUQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-arm64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.81.0.tgz", + "integrity": "sha512-I36P77/PKAHx6sqOmexO2iEY5kpsmQ1VxcgITZSOxPMQhdB6m4t3bTabfDuWQQmCrqqiNFtLQHeytB65bUqwiw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-ia32": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.81.0.tgz", + "integrity": "sha512-k8V1usXw30w1GVxvrteG1RzgYJzYQ9PfL2aeOqGdroBN7zYTD9VGJXTGcxA4IeeRxmRd7szVW2mKXXS472fh8g==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-riscv64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.81.0.tgz", + "integrity": "sha512-RXlanyLXEpN/DEehXgLuKPsqT//GYlsGFxKXgRiCc8hIPAueFLQXKJmLWlL3BEtHgmFdbsStIu4aZCcb1hOFlQ==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-x64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-x64/-/sass-embedded-android-x64-1.81.0.tgz", + "integrity": "sha512-RQG0FxGQ1DERNyUDED8+BDVaLIjI+BNg8lVcyqlLZUrWY6NhzjwYEeiN/DNZmMmHtqDucAPNDcsdVUNQqsBy2A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-arm64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.81.0.tgz", + "integrity": "sha512-gLKbsfII9Ppua76N41ODFnKGutla9qv0OGAas8gxe0jYBeAQFi/1iKQYdNtQtKi4mA9n5TQTqz+HHCKszZCoyA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-x64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.81.0.tgz", + "integrity": "sha512-7uMOlT9hD2KUJCbTN2XcfghDxt/rc50ujjfSjSHjX1SYj7mGplkINUXvVbbvvaV2wt6t9vkGkCo5qNbeBhfwBg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.81.0.tgz", + "integrity": "sha512-REqR9qM4RchCE3cKqzRy9Q4zigIV82SbSpCi/O4O3oK3pg2I1z7vkb3TiJsivusG/li7aqKZGmYOtAXjruGQDA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.81.0.tgz", + "integrity": "sha512-jy4bvhdUmqbyw1jv1f3Uxl+MF8EU/Y/GDx4w6XPJm4Ds+mwH/TwnyAwsxxoBhWfnBnW8q2ADy039DlS5p+9csQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-ia32": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.81.0.tgz", + "integrity": "sha512-ga/Jk4q5Bn1aC+iHJteDZuLSKnmBUiS3dEg1fnl/Z7GaHIChceKDJOw0zNaILRXI0qT2E1at9MwzoRaRA5Nn/g==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.81.0.tgz", + "integrity": "sha512-oWVUvQ4d5Kx1Md75YXZl5z1WBjc+uOhfRRqzkJ3nWc8tjszxJN+y/5EOJavhsNI3/2yoTt6eMXRTqDD9b0tWSQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.81.0.tgz", + "integrity": "sha512-hpntWf5kjkoxncA1Vh8vhsUOquZ8AROZKx0rQh7ZjSRs4JrYZASz1cfevPKaEM3wIim/nYa6TJqm0VqWsrERlA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-ia32": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.81.0.tgz", + "integrity": "sha512-UEXUYkBuqTSwg5JNWiNlfMZ1Jx6SJkaEdx+fsL3Tk099L8cKSoJWH2EPz4ZJjNbyIMymrSdVfymheTeZ8u24xA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-riscv64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.81.0.tgz", + "integrity": "sha512-1D7OznytbIhx2XDHWi1nuQ8d/uCVR7FGGzELgaU//T8A9DapVTUgPKvB70AF1k4GzChR9IXU/WvFZs2hDTbaJg==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-x64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.81.0.tgz", + "integrity": "sha512-ia6VCTeVDQtBSMktXRFza1AZCt8/6aUoujot6Ugf4KmdytQqPJIHxkHaGftm5xwi9WdrMGYS7zgolToPijR11A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-riscv64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.81.0.tgz", + "integrity": "sha512-KbxSsqu4tT1XbhZfJV/5NfW0VtJIGlD58RjqJqJBi8Rnjrx29/upBsuwoDWtsPV/LhoGwwU1XkSa9Q1ifCz4fQ==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-x64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.81.0.tgz", + "integrity": "sha512-AMDeVY2T9WAnSFkuQcsOn5c29GRs/TuqnCiblKeXfxCSKym5uKdBl/N7GnTV6OjzoxiJBbkYKdVIaS5By7Gj4g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-arm64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.81.0.tgz", + "integrity": "sha512-YOmBRYnygwWUmCoH14QbMRHjcvCJufeJBAp0m61tOJXIQh64ziwV4mjdqjS/Rx3zhTT4T+nulDUw4d3kLiMncA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-ia32": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-ia32/-/sass-embedded-win32-ia32-1.81.0.tgz", + "integrity": "sha512-HFfr/C+uLJGGTENdnssuNTmXI/xnIasUuEHEKqI+2J0FHCWT5cpz3PGAOHymPyJcZVYGUG/7gIxIx/d7t0LFYw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-x64": { + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.81.0.tgz", + "integrity": "sha512-wxj52jDcIAwWcXb7ShZ7vQYKcVUkJ+04YM9l46jDY+qwHzliGuorAUyujLyKTE9heGD3gShJ3wPPC1lXzq6v9A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", @@ -10044,6 +10882,29 @@ "integrity": "sha512-0K91MEXFpBUaywiwSSkmKjnGcasG/rVBXFLJz5DrgGabpYD6N+3yZrfD6uUIfpuTu65DZLHi7N8CizHc07BPZA==", "dev": true }, + "node_modules/sync-child-process": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sync-child-process/-/sync-child-process-1.0.2.tgz", + "integrity": "sha512-8lD+t2KrrScJ/7KXCSyfhT3/hRq78rC0wBFqNJXv3mZyn6hW2ypM05JmlSvtqRbeq6jqA94oHbxAr2vYsJ8vDA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "sync-message-port": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/sync-message-port": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sync-message-port/-/sync-message-port-1.1.3.tgz", + "integrity": "sha512-GTt8rSKje5FilG+wEdfCkOcLL7LWqpMlr2c3LRuKt/YXxcJ52aGSbGBAdI4L3aaqfrBt6y711El53ItyH1NWzg==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/tabbable": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz", @@ -10416,6 +11277,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.0.tgz", "integrity": "sha512-eCZGBN4nNNqM9Owkv9HAtWRYfLA4h909E/WGAWWBpmB275ehNhZyk87/Tpvjbp0jjNl9XwCsbe6bm6CqFsgD+A==", + "license": "MIT", "dependencies": { "@mixmark-io/domino": "^2.2.0" } @@ -10629,6 +11491,13 @@ "node": ">= 10.13.0" } }, + "node_modules/varint": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", + "devOptional": true, + "license": "MIT" + }, "node_modules/verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", diff --git a/package.json b/package.json index 1b6e4cddc..cdc0ef578 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "postcss": "^8.4.31", "prettier": "^3.3.3", "prettier-plugin-svelte": "^3.2.6", + "sass-embedded": "^1.81.0", "svelte": "^4.2.18", "svelte-check": "^3.8.5", "svelte-confetti": "^1.3.2", @@ -56,6 +57,12 @@ "@mediapipe/tasks-vision": "^0.10.17", "@pyscript/core": "^0.4.32", "@sveltejs/adapter-node": "^2.0.0", + "@tiptap/core": "^2.10.0", + "@tiptap/extension-highlight": "^2.10.0", + "@tiptap/extension-placeholder": "^2.10.0", + "@tiptap/extension-typography": "^2.10.0", + "@tiptap/pm": "^2.10.0", + "@tiptap/starter-kit": "^2.10.0", "@xyflow/svelte": "^0.1.19", "async": "^3.2.5", "bits-ui": "^0.19.7", diff --git a/src/app.css b/src/app.css index 9d073d05d..cb211318d 100644 --- a/src/app.css +++ b/src/app.css @@ -199,19 +199,34 @@ input[type='number'] { } .ProseMirror { - @apply h-full min-h-fit max-h-full whitespace-pre-wrap; + @apply h-full min-h-fit max-h-full whitespace-pre-wrap; } .ProseMirror:focus { outline: none; } -.placeholder::after { +.ProseMirror p.is-editor-empty:first-child::before { content: attr(data-placeholder); - cursor: text; - pointer-events: none; - float: left; + color: #adb5bd; + pointer-events: none; + height: 0; +} - @apply absolute inset-0 z-0 text-gray-500; +.tiptap > pre > code { + border-radius: 0.4rem; + font-size: 0.85rem; + padding: 0.25em 0.3em; + + @apply dark:bg-gray-800 bg-gray-100; +} + +.tiptap > pre { + border-radius: 0.5rem; + font-family: 'JetBrainsMono', monospace; + margin: 1.5rem 0; + padding: 0.75rem 1rem; + + @apply dark:bg-gray-800 bg-gray-100; } diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index a869a1d99..c922715d5 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -75,14 +75,6 @@ (model) => $models.find((m) => m.id === model)?.info?.meta?.capabilities?.vision ?? true ); - $: if (prompt) { - if (chatInputContainerElement) { - chatInputContainerElement.style.height = ''; - chatInputContainerElement.style.height = - Math.min(chatInputContainerElement.scrollHeight, 200) + 'px'; - } - } - const scrollToBottom = () => { const element = document.getElementById('messages-container'); element.scrollTo({ @@ -585,54 +577,47 @@ {#if $settings?.richTextInput ?? true}
0 || navigator.msMaxTouchPoints > 0 )} + placeholder={placeholder ? placeholder : $i18n.t('Send a Message')} + largeTextAsFile={$settings?.largeTextAsFile ?? false} + bind:value={prompt} on:enter={async (e) => { + const commandsContainerElement = + document.getElementById('commands-container'); + if (commandsContainerElement) { + e.preventDefault(); + + const commandOptionButton = [ + ...document.getElementsByClassName('selected-command-option-button') + ]?.at(-1); + + if (commandOptionButton) { + commandOptionButton?.click(); + return; + } + } + if (prompt !== '') { dispatch('submit', prompt); } }} - on:input={async (e) => { - if (chatInputContainerElement) { - chatInputContainerElement.style.height = ''; - chatInputContainerElement.style.height = - Math.min(chatInputContainerElement.scrollHeight, 200) + 'px'; - } - }} - on:focus={async (e) => { - if (chatInputContainerElement) { - chatInputContainerElement.style.height = ''; - chatInputContainerElement.style.height = - Math.min(chatInputContainerElement.scrollHeight, 200) + 'px'; - } - }} on:keypress={(e) => { e = e.detail.event; }} on:keydown={async (e) => { e = e.detail.event; - if (chatInputContainerElement) { - chatInputContainerElement.style.height = ''; - chatInputContainerElement.style.height = - Math.min(chatInputContainerElement.scrollHeight, 200) + 'px'; - } - const isCtrlPressed = e.ctrlKey || e.metaKey; // metaKey is for Cmd key on Mac const commandsContainerElement = document.getElementById('commands-container'); @@ -692,22 +677,6 @@ commandOptionButton.scrollIntoView({ block: 'center' }); } - if (commandsContainerElement && e.key === 'Enter') { - e.preventDefault(); - - const commandOptionButton = [ - ...document.getElementsByClassName('selected-command-option-button') - ]?.at(-1); - - if (e.shiftKey) { - prompt = `${prompt}\n`; - } else if (commandOptionButton) { - commandOptionButton?.click(); - } else { - document.getElementById('send-message-button')?.click(); - } - } - if (commandsContainerElement && e.key === 'Tab') { e.preventDefault(); diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 219d23c52..81543665c 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -1,241 +1,36 @@ -
+
From aca06f92e8178d7610dd1c3485e5ad1259a2453a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 22:56:26 -0800 Subject: [PATCH 06/83] enh: rich text input --- package-lock.json | 58 +++++++++++++++++++ package.json | 1 + src/app.css | 52 +++++++++++++++++ .../components/common/RichTextInput.svelte | 28 ++++++++- 4 files changed, 138 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index f3feac815..4a0f1bb18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "@pyscript/core": "^0.4.32", "@sveltejs/adapter-node": "^2.0.0", "@tiptap/core": "^2.10.0", + "@tiptap/extension-code-block-lowlight": "^2.10.0", "@tiptap/extension-highlight": "^2.10.0", "@tiptap/extension-placeholder": "^2.10.0", "@tiptap/extension-typography": "^2.10.0", @@ -2425,6 +2426,23 @@ "@tiptap/pm": "^2.7.0" } }, + "node_modules/@tiptap/extension-code-block-lowlight": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block-lowlight/-/extension-code-block-lowlight-2.10.0.tgz", + "integrity": "sha512-dAv03XIHT5h+sdFmJzvx2FfpfFOOK9SBKHflRUdqTa8eA+0VZNAcPRjvJWVEWqts1fKZDJj774mO28NlhFzk9Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.7.0", + "@tiptap/extension-code-block": "^2.7.0", + "@tiptap/pm": "^2.7.0", + "highlight.js": "^11", + "lowlight": "^2 || ^3" + } + }, "node_modules/@tiptap/extension-document": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.10.0.tgz", @@ -2793,6 +2811,16 @@ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, + "node_modules/@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@types/unist": "*" + } + }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -5162,6 +5190,20 @@ "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.1.1.tgz", "integrity": "sha512-maua5KUiapvEwiEAe+XnlZ3Rh0GD+qI1J/nb9vrJc3muPXvcF/8gXYTWF76+5DAqHyDUtOIImEuo0YKE9mshVw==" }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "peer": true, + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/didyoumean": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", @@ -7390,6 +7432,22 @@ "get-func-name": "^2.0.1" } }, + "node_modules/lowlight": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-3.1.0.tgz", + "integrity": "sha512-CEbNVoSikAxwDMDPjXlqlFYiZLkDJHwyGu/MfOsJnF3d7f3tds5J3z8s/l9TMXhzfsJCCJEAsD78842mwmg0PQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@types/hast": "^3.0.0", + "devlop": "^1.0.0", + "highlight.js": "~11.9.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/magic-string": { "version": "0.30.11", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", diff --git a/package.json b/package.json index cdc0ef578..ea934d4e7 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "@pyscript/core": "^0.4.32", "@sveltejs/adapter-node": "^2.0.0", "@tiptap/core": "^2.10.0", + "@tiptap/extension-code-block-lowlight": "^2.10.0", "@tiptap/extension-highlight": "^2.10.0", "@tiptap/extension-placeholder": "^2.10.0", "@tiptap/extension-typography": "^2.10.0", diff --git a/src/app.css b/src/app.css index cb211318d..3974974bc 100644 --- a/src/app.css +++ b/src/app.css @@ -230,3 +230,55 @@ input[type='number'] { @apply dark:bg-gray-800 bg-gray-100; } + +/* Code styling */ +.hljs-comment, +.hljs-quote { + color: #616161; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #f98181; +} + +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #fbbc88; +} + +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #b9f18d; +} + +.hljs-title, +.hljs-section { + color: #faf594; +} + +.hljs-keyword, +.hljs-selector-tag { + color: #70cff8; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: 700; +} diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 81543665c..fdc98349a 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -11,13 +11,19 @@ import { Editor } from '@tiptap/core'; + import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'; import Placeholder from '@tiptap/extension-placeholder'; import Highlight from '@tiptap/extension-highlight'; import Typography from '@tiptap/extension-typography'; import StarterKit from '@tiptap/starter-kit'; + import { all, createLowlight } from 'lowlight'; + import { PASTED_TEXT_CHARACTER_LIMIT } from '$lib/constants'; + // create a lowlight instance with all languages loaded + const lowlight = createLowlight(all); + export let className = 'input-prose'; export let placeholder = 'Type here...'; export let value = ''; @@ -109,7 +115,15 @@ onMount(() => { editor = new Editor({ element: element, - extensions: [StarterKit, Highlight, Typography, Placeholder.configure({ placeholder })], + extensions: [ + StarterKit, + CodeBlockLowlight.configure({ + lowlight + }), + Highlight, + Typography, + Placeholder.configure({ placeholder }) + ], content: marked.parse(value), autofocus: true, onTransaction: () => { @@ -144,10 +158,22 @@ } if (messageInput) { + if (event.key === 'Enter') { + // Check if the current selection is inside a code block + const { state } = view; + const { $head } = state.selection; + const isInCodeBlock = $head.parent.type.name === 'codeBlock'; + + if (isInCodeBlock) { + return false; // Prevent Enter action inside a code block + } + } + // Handle shift + Enter for a line break if (shiftEnter) { if (event.key === 'Enter' && event.shiftKey) { editor.commands.setHardBreak(); // Insert a hard break + view.dispatch(view.state.tr.scrollIntoView()); // Move viewport to the cursor event.preventDefault(); return true; } From c5cd1e4403edff3d4d69d00d6fa7b7ff988317a2 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 23:14:06 -0800 Subject: [PATCH 07/83] refac: rich text input --- .../components/common/RichTextInput.svelte | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index fdc98349a..232a739c4 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -159,13 +159,30 @@ if (messageInput) { if (event.key === 'Enter') { - // Check if the current selection is inside a code block + // Check if the current selection is inside a structured block (like codeBlock or list) const { state } = view; const { $head } = state.selection; - const isInCodeBlock = $head.parent.type.name === 'codeBlock'; - if (isInCodeBlock) { - return false; // Prevent Enter action inside a code block + // Recursive function to check ancestors for specific node types + function isInside(nodeTypes: string[]): boolean { + let currentNode = $head; + while (currentNode) { + if (nodeTypes.includes(currentNode.parent.type.name)) { + return true; + } + if (!currentNode.depth) break; // Stop if we reach the top + currentNode = state.doc.resolve(currentNode.before()); // Move to the parent node + } + return false; + } + + const isInCodeBlock = isInside(['codeBlock']); + const isInList = isInside(['listItem', 'bulletList', 'orderedList']); + const isInHeading = isInside(['heading']); + + if (isInCodeBlock || isInList || isInHeading) { + // Let ProseMirror handle the normal Enter behavior + return false; } } @@ -183,14 +200,12 @@ return true; } } - if (event.key === 'Enter') { eventDispatch('enter', { event }); event.preventDefault(); return true; } } - eventDispatch('keydown', { event }); return false; }, From 6088acf36dea664b2fcc25687b5cbac63cd20236 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 20 Nov 2024 23:31:46 -0800 Subject: [PATCH 08/83] refac: styling --- src/lib/components/chat/Messages/RateComment.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte index 39ae17318..c774738c5 100644 --- a/src/lib/components/chat/Messages/RateComment.svelte +++ b/src/lib/components/chat/Messages/RateComment.svelte @@ -136,7 +136,7 @@ class="size-7 text-sm border border-gray-50 dark:border-gray-850 hover:bg-gray-50 dark:hover:bg-gray-850 {detailedRating === rating ? 'bg-gray-100 dark:bg-gray-800' - : ''} transition rounded-full disabled:cursor-not-allowed disabled:bg-white disabled:dark:bg-gray-900" + : ''} transition rounded-full disabled:cursor-not-allowed disabled:text-gray-500 disabled:bg-white disabled:dark:bg-gray-900" on:click={() => { detailedRating = rating; }} From c03cae811da97c683240afd9536bdf7894007099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aindri=C3=BA=20Mac=20Giolla=20Eoin?= Date: Thu, 21 Nov 2024 10:15:37 +0000 Subject: [PATCH 09/83] Updated Irish translations --- src/lib/i18n/locales/ie-GA/translation.json | 402 ++++++++++---------- 1 file changed, 201 insertions(+), 201 deletions(-) diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index e8c52d722..fdc4cc437 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -11,33 +11,33 @@ "A task model is used when performing tasks such as generating titles for chats and web search queries": "Úsáidtear samhail tasc agus tascanna á ndéanamh agat mar theidil a ghiniúint do chomhráite agus ceisteanna cuardaigh gréasáin", "a user": "úsáideoir", "About": "Maidir", - "Access": "", - "Access Control": "", - "Accessible to all users": "", + "Access": "Rochtain", + "Access Control": "Rialaithe Rochtana", + "Accessible to all users": "Inrochtana do gach úsáideoir", "Account": "Cuntas", "Account Activation Pending": "Gníomhachtaithe Cuntas", "Accurate information": "Faisnéis chruinn", "Actions": "Gníomhartha", - "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "", + "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "Gníomhachtaigh an t-ordú seo trí \"/{{COMMAND}}\" a chlóscríobh chun ionchur comhrá a dhéanamh.", "Active Users": "Úsáideoirí Gníomhacha", "Add": "Cuir", - "Add a model ID": "", + "Add a model ID": "Cuir ID samhail leis", "Add a short description about what this model does": "Cuir cur síos gairid leis faoin méid a dhéanann an tsamhail seo", "Add a tag": "Cuir clib leis", "Add Arena Model": "Cuir Múnla Arena leis", - "Add Connection": "", + "Add Connection": "Cuir Ceangal leis", "Add Content": "Cuir Ábhar leis", "Add content here": "Cuir ábhar anseo", "Add custom prompt": "Cuir pras saincheaptha leis", "Add Files": "Cuir Comhaid", - "Add Group": "", + "Add Group": "Cuir Grúpa leis", "Add Memory": "Cuir Cuimhne", "Add Model": "Cuir múnla leis", "Add Tag": "Cuir Clib leis", "Add Tags": "Cuir Clibeanna leis", "Add text content": "Cuir ábhar téacs leis", "Add User": "Cuir Úsáideoir leis", - "Add User Group": "", + "Add User Group": "Cuir Grúpa Úsáideoirí leis", "Adjusting these settings will apply changes universally to all users.": "Cuirfear na socruithe seo ag coigeartú athruithe go huilíoch ar gach úsáideoir.", "admin": "riarachán", "Admin": "Riarachán", @@ -48,18 +48,18 @@ "Advanced Params": "Paraiméid Casta", "All chats": "Gach comhrá", "All Documents": "Gach Doiciméad", - "All models deleted successfully": "", - "Allow Chat Delete": "", + "All models deleted successfully": "Scriosadh na samhlacha go léir go rathúil", + "Allow Chat Delete": "Ceadaigh Comhrá a Scriosadh", "Allow Chat Deletion": "Cead Scriosadh Comhrá", - "Allow Chat Edit": "", - "Allow File Upload": "", + "Allow Chat Edit": "Ceadaigh Eagarthóireacht Comhrá", + "Allow File Upload": "Ceadaigh Uaslódáil Comhad", "Allow non-local voices": "Lig guthanna neamh-áitiúla", "Allow Temporary Chat": "Cead Comhrá Sealadach", "Allow User Location": "Ceadaigh Suíomh Úsáideora", "Allow Voice Interruption in Call": "Ceadaigh Briseadh Guth i nGlao", "Already have an account?": "Tá cuntas agat cheana féin?", - "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "", - "Amazing": "", + "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "Rogha eile seachas an top_p, agus tá sé mar aidhm aige cothromaíocht cáilíochta agus éagsúlachta a chinntiú. Léiríonn an paraiméadar p an dóchúlacht íosta go mbreithneofar comhartha, i gcoibhneas le dóchúlacht an chomhartha is dóichí. Mar shampla, le p=0.05 agus dóchúlacht 0.9 ag an comhartha is dóichí, déantar logits le luach níos lú ná 0.045 a scagadh amach. (Réamhshocrú: 0.0)", + "Amazing": "Iontach", "an assistant": "cúntóir", "and": "agus", "and {{COUNT}} more": "agus {{COUNT}} eile", @@ -68,15 +68,15 @@ "API Key": "Eochair API", "API Key created.": "Cruthaíodh Eochair API.", "API keys": "Eochracha API", - "Application DN": "", - "Application DN Password": "", - "applies to all users with the \"user\" role": "", + "Application DN": "Feidhmchlár DN", + "Application DN Password": "Feidhmchlár DN Pasfhocal", + "applies to all users with the \"user\" role": "baineann sé le gach úsáideoir a bhfuil an ról \"úsáideoir\" aige", "April": "Aibreán", "Archive": "Cartlann", "Archive All Chats": "Cartlann Gach Comhrá", "Archived Chats": "Comhráite Cartlann", - "archived-chat-export": "", - "Are you sure you want to unarchive all archived chats?": "", + "archived-chat-export": "gcartlann-comhrá-onnmhairiú", + "Are you sure you want to unarchive all archived chats?": "An bhfuil tú cinnte gur mhaith leat gach comhrá cartlainne a dhíchartlannú?", "Are you sure?": "An bhfuil tú cinnte?", "Arena Models": "Múnlaí Airéine", "Artifacts": "Déantáin", @@ -84,10 +84,10 @@ "Assistant": "Cúntóir", "Attach file": "Ceangail comhad", "Attention to detail": "Aird ar mhionsonraí", - "Attribute for Username": "", + "Attribute for Username": "Tréith don Ainm Úsáideora", "Audio": "Fuaim", "August": "Lúnasa", - "Authenticate": "", + "Authenticate": "Fíordheimhnigh", "Auto-Copy Response to Clipboard": "Freagra AutoCopy go Gearrthaisce", "Auto-playback response": "Freagra uathsheinm", "Automatic1111": "Uathoibríoch1111", @@ -96,7 +96,7 @@ "AUTOMATIC1111 Base URL is required.": "Tá URL bonn UATHOMATIC1111 ag teastáil.", "Available list": "Liosta atá ar fáil", "available!": "ar fáil!", - "Awful": "", + "Awful": "Uafásach", "Azure AI Speech": "Óráid Azure AI", "Azure Region": "Réigiún Azure", "Back": "Ar ais", @@ -106,27 +106,27 @@ "Batch Size (num_batch)": "Méid Baisc (num_batch)", "before": "roimh", "Being lazy": "A bheith leisciúil", - "Bing Search V7 Endpoint": "", - "Bing Search V7 Subscription Key": "", + "Bing Search V7 Endpoint": "Cuardach Bing V7 Críochphointe", + "Bing Search V7 Subscription Key": "Eochair Síntiúis Bing Cuardach V7", "Brave Search API Key": "Eochair API Cuardaigh Brave", - "By {{name}}": "", + "By {{name}}": "Le {{name}}", "Bypass SSL verification for Websites": "Seachbhachtar fíorú SSL do Láithreáin", "Call": "Glaoigh", "Call feature is not supported when using Web STT engine": "Ní thacaítear le gné glaonna agus inneall Web STT á úsáid", "Camera": "Ceamara", "Cancel": "Cealaigh", "Capabilities": "Cumais", - "Certificate Path": "", + "Certificate Path": "Cosán Teastais", "Change Password": "Athraigh Pasfhocal", "Character": "Carachtar", - "Chart new frontiers": "", + "Chart new frontiers": "Cairt teorainneacha nua", "Chat": "Comhrá", "Chat Background Image": "Íomhá Cúlra Comhrá", "Chat Bubble UI": "Comhrá Bubble UI", "Chat Controls": "Rialuithe Comhrá", "Chat direction": "Treo comhrá", "Chat Overview": "Forbhreathnú ar an", - "Chat Permissions": "", + "Chat Permissions": "Ceadanna Comhrá", "Chat Tags Auto-Generation": "Clibeanna Comhrá Auto-Giniúint", "Chats": "Comhráite", "Check Again": "Seiceáil Arís", @@ -136,11 +136,11 @@ "Chunk Overlap": "Forluí smután", "Chunk Params": "Chunk Params", "Chunk Size": "Méid an Píosa", - "Ciphers": "", + "Ciphers": "Cipéirí", "Citation": "Lua", "Clear memory": "Cuimhne ghlan", - "click here": "", - "Click here for filter guides.": "", + "click here": "cliceáil anseo", + "Click here for filter guides.": "Cliceáil anseo le haghaidh treoracha scagaire.", "Click here for help.": "Cliceáil anseo le haghaidh cabhair.", "Click here to": "Cliceáil anseo chun", "Click here to download user import template file.": "Cliceáil anseo chun an comhad iompórtála úsáideora a íoslódáil.", @@ -157,7 +157,7 @@ "Code execution": "Cód a fhorghníomhú", "Code formatted successfully": "Cód formáidithe go rathúil", "Collection": "Bailiúchán", - "Color": "", + "Color": "Dath", "ComfyUI": "ComfyUI", "ComfyUI Base URL": "URL Bonn ComfyUI", "ComfyUI Base URL is required.": "Teastaíonn URL ComfyUI Base.", @@ -166,7 +166,7 @@ "Command": "Ordú", "Completions": "Críochnaithe", "Concurrent Requests": "Iarrataí Comhthéime", - "Configure": "", + "Configure": "Cumraigh", "Confirm": "Deimhnigh", "Confirm Password": "Deimhnigh Pasfhocal", "Confirm your action": "Deimhnigh do ghníomh", @@ -177,11 +177,11 @@ "Context Length": "Fad Comhthéacs", "Continue Response": "Leanúint ar aghaidh", "Continue with {{provider}}": "Lean ar aghaidh le {{provider}}", - "Continue with Email": "", - "Continue with LDAP": "", + "Continue with Email": "Lean ar aghaidh le Ríomhphost", + "Continue with LDAP": "Lean ar aghaidh le LDAP", "Control how message text is split for TTS requests. 'Punctuation' splits into sentences, 'paragraphs' splits into paragraphs, and 'none' keeps the message as a single string.": "Rialú conas a roinntear téacs teachtaireachta d'iarratais TTS. Roinneann 'poncaíocht' ina abairtí, scoilteann 'míreanna' i míreanna, agus coinníonn 'aon' an teachtaireacht mar shreang amháin.", "Controls": "Rialuithe", - "Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text. (Default: 5.0)": "", + "Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text. (Default: 5.0)": "Rialaíonn sé an chothromaíocht idir comhleanúnachas agus éagsúlacht an aschuir. Beidh téacs níos dírithe agus níos soiléire mar thoradh ar luach níos ísle. (Réamhshocrú: 5.0)", "Copied": "Cóipeáladh", "Copied shared chat URL to clipboard!": "Cóipeáladh URL an chomhrá roinnte chuig an ngearrthaisce!", "Copied to clipboard": "Cóipeáilte go gear", @@ -191,12 +191,12 @@ "Copy Link": "Cóipeáil Nasc", "Copy to clipboard": "Cóipeáil chuig an ngearrthaisce", "Copying to clipboard was successful!": "D'éirigh le cóipeáil chuig an ngearrthaisce!", - "Create": "", - "Create a knowledge base": "", + "Create": "Cruthaigh", + "Create a knowledge base": "Cruthaigh bonn eolais", "Create a model": "Cruthaigh samhail", "Create Account": "Cruthaigh Cuntas", - "Create Admin Account": "", - "Create Group": "", + "Create Admin Account": "Cruthaigh Cuntas Riaracháin", + "Create Group": "Cruthaigh Grúpa", "Create Knowledge": "Cruthaigh Eolais", "Create new key": "Cruthaigh eochair nua", "Create new secret key": "Cruthaigh eochair rúnda nua", @@ -215,16 +215,16 @@ "Default (SentenceTransformers)": "Réamhshocraithe (SentenceTransFormers)", "Default Model": "Samhail Réamhshocraithe", "Default model updated": "An tsamhail réamhshocraithe", - "Default permissions": "", - "Default permissions updated successfully": "", + "Default permissions": "Ceadanna réamhshocraithe", + "Default permissions updated successfully": "D'éirigh le ceadanna réamhshocraithe a nuashonrú", "Default Prompt Suggestions": "Moltaí Pras Réamhshocraithe", - "Default to 389 or 636 if TLS is enabled": "", - "Default to ALL": "", + "Default to 389 or 636 if TLS is enabled": "Réamhshocrú go 389 nó 636 má tá TLS cumasaithe", + "Default to ALL": "Réamhshocrú do GACH", "Default User Role": "Ról Úsáideora Réamhshoc", "Delete": "Scrios", "Delete a model": "Scrios samhail", "Delete All Chats": "Scrios Gach Comhrá", - "Delete All Models": "", + "Delete All Models": "Scrios Gach Múnla", "Delete chat": "Scrios comhrá", "Delete Chat": "Scrios Comhrá", "Delete chat?": "Scrios comhrá?", @@ -236,8 +236,8 @@ "Delete User": "Scrios Úsáideoir", "Deleted {{deleteModelTag}}": "Scriosta {{deleteModelTag}}", "Deleted {{name}}": "Scriosta {{name}}", - "Deleted User": "", - "Describe your knowledge base and objectives": "", + "Deleted User": "Úsáideoir Scriosta", + "Describe your knowledge base and objectives": "Déan cur síos ar do bhunachar eolais agus do chuspóirí", "Description": "Cur síos", "Didn't fully follow instructions": "Níor lean sé treoracha go hiomlán", "Disabled": "Díchumasaithe", @@ -245,17 +245,17 @@ "Discover a model": "Faigh amach samhail", "Discover a prompt": "Faigh amach pras", "Discover a tool": "Faigh amach uirlis", - "Discover wonders": "", + "Discover wonders": "Faigh amach iontais", "Discover, download, and explore custom functions": "Faigh amach, íoslódáil agus iniúchadh feidhmeanna saincheaptha", "Discover, download, and explore custom prompts": "Leideanna saincheaptha a fháil amach, a íoslódáil agus a iniúchadh", "Discover, download, and explore custom tools": "Uirlisí saincheaptha a fháil amach, íoslódáil agus iniúchadh", "Discover, download, and explore model presets": "Réamhshocruithe samhail a fháil amach, a íoslódáil agus a iniúchadh", "Dismissible": "Dífhostaithe", - "Display": "", + "Display": "Taispeáin", "Display Emoji in Call": "Taispeáin Emoji i nGlao", "Display the username instead of You in the Chat": "Taispeáin an t-ainm úsáideora in ionad Tú sa Comhrá", - "Displays citations in the response": "", - "Dive into knowledge": "", + "Displays citations in the response": "Taispeánann sé luanna sa fhreagra", + "Dive into knowledge": "Léim isteach eolas", "Do not install functions from sources you do not fully trust.": "Ná suiteáil feidhmeanna ó fhoinsí nach bhfuil muinín iomlán agat.", "Do not install tools from sources you do not fully trust.": "Ná suiteáil uirlisí ó fhoinsí nach bhfuil muinín iomlán agat.", "Document": "Doiciméad", @@ -270,39 +270,39 @@ "Download": "Íoslódáil", "Download canceled": "Íoslódáil cealaithe", "Download Database": "Íoslódáil Bunachair", - "Drag and drop a file to upload or select a file to view": "", + "Drag and drop a file to upload or select a file to view": "Tarraing agus scaoil comhad le huaslódáil nó roghnaigh comhad le féachaint air", "Draw": "Tarraing", "Drop any files here to add to the conversation": "Scaoil aon chomhaid anseo le cur leis an gcomhrá", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "m.sh. '30s', '10m'. Is iad aonaid ama bailí ná 's', 'm', 'h'.", - "e.g. A filter to remove profanity from text": "", - "e.g. My Filter": "", - "e.g. My Tools": "", - "e.g. my_filter": "", - "e.g. my_tools": "", - "e.g. Tools for performing various operations": "", + "e.g. A filter to remove profanity from text": "m.h. Scagaire chun profanity a bhaint as téacs", + "e.g. My Filter": "m.sh. Mo Scagaire", + "e.g. My Tools": "e.g. Mo Uirlisí", + "e.g. my_filter": "m.sh. mo_scagaire", + "e.g. my_tools": "m.sh. mo_uirlisí", + "e.g. Tools for performing various operations": "m.sh. Uirlisí chun oibríochtaí éagsúla a dhéanamh", "Edit": "Cuir in eagar", "Edit Arena Model": "Cuir Samhail Airéine in Eagar", - "Edit Connection": "", - "Edit Default Permissions": "", + "Edit Connection": "Cuir Ceangal in Eagar", + "Edit Default Permissions": "Cuir Ceadanna Réamhshocraithe in Eagar", "Edit Memory": "Cuir Cuimhne in eagar", "Edit User": "Cuir Úsáideoir in eagar", - "Edit User Group": "", + "Edit User Group": "Cuir Grúpa Úsáideoirí in Eagar", "ElevenLabs": "Eleven Labs", "Email": "Ríomhphost", - "Embark on adventures": "", + "Embark on adventures": "Dul ar eachtraí", "Embedding Batch Size": "Méid Baisc a ionchorprú", "Embedding Model": "Múnla Leabháilte", "Embedding Model Engine": "Inneall Múnla Ionchorprú", "Embedding model set to \"{{embedding_model}}\"": "Samhail leabaithe atá socraithe go \"{{embedding_model}}\"", - "Enable API Key Auth": "", + "Enable API Key Auth": "Cumasaigh Fíordheimhniú Eochracha API", "Enable Community Sharing": "Cumasaigh Comhroinnt Pobail", - "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "", - "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "", + "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "Cumasaigh Glasáil Cuimhne (mlock) chun sonraí samhaltaithe a chosc ó RAM. Glasálann an rogha seo sraith oibre leathanaigh an mhúnla isteach i RAM, ag cinntiú nach ndéanfar iad a mhalartú go diosca. Is féidir leis seo cabhrú le feidhmíocht a choinneáil trí lochtanna leathanaigh a sheachaint agus rochtain tapa ar shonraí a chinntiú.", + "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "Cumasaigh Mapáil Cuimhne (mmap) chun sonraí samhla a lódáil. Ligeann an rogha seo don chóras stóráil diosca a úsáid mar leathnú ar RAM trí chomhaid diosca a chóireáil amhail is dá mba i RAM iad. Is féidir leis seo feidhmíocht na samhla a fheabhsú trí rochtain níos tapúla ar shonraí a cheadú. Mar sin féin, d'fhéadfadh sé nach n-oibreoidh sé i gceart le gach córas agus féadfaidh sé méid suntasach spáis diosca a ithe.", "Enable Message Rating": "Cumasaigh Rátáil Teachtai", - "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "", + "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "Cumasaigh sampláil Mirostat chun seachrán a rialú. (Réamhshocrú: 0, 0 = Díchumasaithe, 1 = Mirostat, 2 = Mirostat 2.0)", "Enable New Sign Ups": "Cumasaigh Clárúcháin Nua", - "Enable Retrieval Query Generation": "", - "Enable Tags Generation": "", + "Enable Retrieval Query Generation": "Cumasaigh Giniúint Iarratas Aisghabhála", + "Enable Tags Generation": "Cumasaigh Giniúint Clibeanna", "Enable Web Search": "Cumasaigh Cuardach Gréasáin", "Enable Web Search Query Generation": "Cumasaigh Giniúint Ceist Cuardaigh Gréasáin", "Enabled": "Cumasaithe", @@ -311,12 +311,12 @@ "Enter {{role}} message here": "Cuir isteach teachtaireacht {{role}} anseo", "Enter a detail about yourself for your LLMs to recall": "Cuir isteach mionsonraí fút féin chun do LLManna a mheabhrú", "Enter api auth string (e.g. username:password)": "Cuir isteach sreang auth api (m.sh. ainm úsáideora: pasfhocal)", - "Enter Application DN": "", - "Enter Application DN Password": "", - "Enter Bing Search V7 Endpoint": "", - "Enter Bing Search V7 Subscription Key": "", - "Enter Brave Search API Key": "Cuir isteach Eochair API Brave Search", - "Enter certificate path": "", + "Enter Application DN": "Cuir isteach Feidhmchlár DN", + "Enter Application DN Password": "Iontráil Feidhmchlár DN Pasfhocal", + "Enter Bing Search V7 Endpoint": "Cuir isteach Cuardach Bing V7 Críochphointe", + "Enter Bing Search V7 Subscription Key": "Cuir isteach Eochair Síntiúis Bing Cuardach V7", + "Enter Brave Search API Key": "Cuir isteach Eochair API Brave Cuardach", + "Enter certificate path": "Cuir isteach cosán an teastais", "Enter CFG Scale (e.g. 7.0)": "Cuir isteach Scála CFG (m.sh. 7.0)", "Enter Chunk Overlap": "Cuir isteach Chunk Forluí", "Enter Chunk Size": "Cuir isteach Méid an Chunc", @@ -325,7 +325,7 @@ "Enter Google PSE API Key": "Cuir isteach Eochair API Google PSE", "Enter Google PSE Engine Id": "Cuir isteach ID Inneall Google PSE", "Enter Image Size (e.g. 512x512)": "Iontráil Méid Íomhá (m.sh. 512x512)", - "Enter Jina API Key": "", + "Enter Jina API Key": "Cuir isteach Eochair API Jina", "Enter language codes": "Cuir isteach cóid teanga", "Enter Model ID": "Iontráil ID Mhúnla", "Enter model tag (e.g. {{modelTag}})": "Cuir isteach chlib samhail (m.sh. {{modelTag}})", @@ -336,13 +336,13 @@ "Enter SearchApi API Key": "Cuir isteach Eochair API SearchAPI", "Enter SearchApi Engine": "Cuir isteach Inneall SearchAPI", "Enter Searxng Query URL": "Cuir isteach URL Ceist Searxng", - "Enter Seed": "", + "Enter Seed": "Cuir isteach Síl", "Enter Serper API Key": "Cuir isteach Eochair API Serper", "Enter Serply API Key": "Cuir isteach Eochair API Serply", "Enter Serpstack API Key": "Cuir isteach Eochair API Serpstack", - "Enter server host": "", - "Enter server label": "", - "Enter server port": "", + "Enter server host": "Cuir isteach óstach freastalaí", + "Enter server label": "Cuir isteach lipéad freastalaí", + "Enter server port": "Cuir isteach port freastalaí", "Enter stop sequence": "Cuir isteach seicheamh stad", "Enter system prompt": "Cuir isteach an chóras pras", "Enter Tavily API Key": "Cuir isteach eochair API Tavily", @@ -355,28 +355,28 @@ "Enter your message": "Cuir isteach do theachtaireacht", "Enter Your Password": "Cuir isteach do phasfhocal", "Enter Your Role": "Cuir isteach do Ról", - "Enter Your Username": "", + "Enter Your Username": "Cuir isteach D'Ainm Úsáideora", "Error": "Earráid", "ERROR": "EARRÁID", "Evaluations": "Meastóireachtaí", - "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "", - "Example: ALL": "", - "Example: ou=users,dc=foo,dc=example": "", - "Example: sAMAccountName or uid or userPrincipalName": "", + "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "Sampla: (&(objectClass=inetOrgPerson)(uid=%s))", + "Example: ALL": "Sampla: GACH", + "Example: ou=users,dc=foo,dc=example": "Sampla: ou=úsáideoirí,dc=foo,dc=sampla", + "Example: sAMAccountName or uid or userPrincipalName": "Sampla: sAMAaccountName nó uid nó userPrincipalName", "Exclude": "Eisigh", "Experimental": "Turgnamhach", - "Explore the cosmos": "", + "Explore the cosmos": "Déan iniúchadh ar an cosmos", "Export": "Easpórtáil", - "Export All Archived Chats": "", + "Export All Archived Chats": "Easpórtáil Gach Comhrá Cartlainne", "Export All Chats (All Users)": "Easpórtáil gach comhrá (Gach Úsáideoir)", "Export chat (.json)": "Easpórtáil comhrá (.json)", "Export Chats": "Comhráite Easpórtá", "Export Config to JSON File": "Easpórtáil Cumraíocht chuig Comhad JSON", "Export Functions": "Feidhmeanna Easp", "Export Models": "Múnlaí a Easpórtáil", - "Export Presets": "", + "Export Presets": "Easpórtáil Gach Comhrá Cartlainne", "Export Prompts": "Leideanna Easpórtála", - "Export to CSV": "", + "Export to CSV": "Easpórtáil go CSV", "Export Tools": "Uirlisí Easpór", "External Models": "Múnlaí Seachtracha", "Failed to add file.": "Theip ar an gcomhad a chur leis.", @@ -386,7 +386,7 @@ "Failed to upload file.": "Theip ar uaslódáil an chomhaid.", "February": "Feabhra", "Feedback History": "Stair Aiseolais", - "Feedbacks": "", + "Feedbacks": "Aiseolas", "Feel free to add specific details": "Ná bíodh leisce ort sonraí ar leith a chur leis", "File": "Comhad", "File added successfully.": "D'éirigh leis an gcomhad a chur leis.", @@ -407,18 +407,18 @@ "Folder name cannot be empty.": "Ní féidir ainm fillteáin a bheith folamh.", "Folder name updated successfully": "D'éirigh le hainm an fhillteáin a nuashonrú", "Followed instructions perfectly": "Lean treoracha go foirfe", - "Forge new paths": "", + "Forge new paths": "Déan cosáin nua a chruthú", "Form": "Foirm", "Format your variables using brackets like this:": "Formáidigh na hathróga ag baint úsáide as lúibíní mar seo:", "Frequency Penalty": "Pionós Minicíochta", "Function": "Feidhm", "Function created successfully": "Cruthaíodh feidhm go rathúil", "Function deleted successfully": "Feidhm scriosta go rathúil", - "Function Description": "", - "Function ID": "", + "Function Description": "Cur síos ar Fheidhm", + "Function ID": "ID Feidhme", "Function is now globally disabled": "Tá an fheidhm faoi mhíchumas go domhanda", "Function is now globally enabled": "Tá feidhm cumasaithe go domhanda anois", - "Function Name": "", + "Function Name": "Ainm Feidhme", "Function updated successfully": "Feidhm nuashonraithe", "Functions": "Feidhmeanna", "Functions allow arbitrary code execution": "Ligeann feidhmeanna forghníomhú cód", @@ -429,34 +429,34 @@ "Generate Image": "Ginigh Íomhá", "Generating search query": "Giniúint ceist cuardaigh", "Generation Info": "Eolas Giniúin", - "Get started": "", - "Get started with {{WEBUI_NAME}}": "", + "Get started": "Cuir tús leis", + "Get started with {{WEBUI_NAME}}": "Cuir tús le {{WEBUI_NAME}}", "Global": "Domhanda", "Good Response": "Freagra Mhaith", "Google PSE API Key": "Eochair API Google PSE", "Google PSE Engine Id": "ID Inneall Google PSE", - "Group created successfully": "", - "Group deleted successfully": "", - "Group Description": "", - "Group Name": "", - "Group updated successfully": "", - "Groups": "", + "Group created successfully": "Grúpa cruthaithe go rathúil", + "Group deleted successfully": "D'éirigh le scriosadh an ghrúpa", + "Group Description": "Cur síos ar an nGrúpa", + "Group Name": "Ainm an Ghrúpa", + "Group updated successfully": "D'éirigh le nuashonrú an ghrúpa", + "Groups": "Grúpaí", "h:mm a": "h: mm a", "Haptic Feedback": "Aiseolas Haptic", "has no conversations.": "níl aon chomhráite aige.", "Hello, {{name}}": "Dia duit, {{name}}", "Help": "Cabhair", "Help us create the best community leaderboard by sharing your feedback history!": "Cabhraigh linn an clár ceannairí pobail is fearr a chruthú trí do stair aiseolais a roinnt!", - "Hex Color": "", - "Hex Color - Leave empty for default color": "", + "Hex Color": "Dath Heics", + "Hex Color - Leave empty for default color": "Dath Heics - Fág folamh don dath réamhshocraithe", "Hide": "Folaigh", - "Host": "", + "Host": "Óstach", "How can I help you today?": "Conas is féidir liom cabhrú leat inniu?", - "How would you rate this response?": "", + "How would you rate this response?": "Cad é mar a mheasfá an freagra seo?", "Hybrid Search": "Cuardach Hibrideach", "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Admhaím gur léigh mé agus tuigim impleachtaí mo ghníomhaíochta. Táim ar an eolas faoi na rioscaí a bhaineann le cód treallach a fhorghníomhú agus tá iontaofacht na foinse fíoraithe agam.", "ID": "ID", - "Ignite curiosity": "", + "Ignite curiosity": "Las fiosracht", "Image Generation (Experimental)": "Giniúint Íomhá (Turgnaimh)", "Image Generation Engine": "Inneall Giniúna Íomh", "Image Settings": "Socruithe Íomhá", @@ -465,13 +465,13 @@ "Import Config from JSON File": "Cumraíocht Iompórtáil ó Chomhad JSON", "Import Functions": "Feidhmeanna Iom", "Import Models": "Múnlaí a Iompórtáil", - "Import Presets": "", + "Import Presets": "Réamhshocruithe Iompórtáil", "Import Prompts": "Leideanna Iompórtála", "Import Tools": "Uirlisí Iomp", "Include": "Cuir san áireamh", "Include `--api-auth` flag when running stable-diffusion-webui": "Cuir bratach `--api-auth` san áireamh agus webui stable-diffusion-reatha á rith", "Include `--api` flag when running stable-diffusion-webui": "Cuir bratach `--api` san áireamh agus webui cobhsaí-scaipthe á rith", - "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive. (Default: 0.1)": "", + "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive. (Default: 0.1)": "Bíonn tionchar aige ar chomh tapa agus a fhreagraíonn an t-algartam d’aiseolas ón téacs ginte. Beidh coigeartuithe níos moille mar thoradh ar ráta foghlama níos ísle, agus déanfaidh ráta foghlama níos airde an t-algartam níos freagraí. (Réamhshocrú: 0.1)", "Info": "Eolas", "Input commands": "Orduithe ionchuir", "Install from Github URL": "Suiteáil ó Github URL", @@ -480,7 +480,7 @@ "Invalid file format.": "Formáid comhaid neamhbhailí.", "Invalid Tag": "Clib neamhbhailí", "January": "Eanáir", - "Jina API Key": "", + "Jina API Key": "Jina API Eochair", "join our Discord for help.": "bí inár Discord chun cabhair a fháil.", "JSON": "JSON", "JSON Preview": "Réamhamharc JSON", @@ -489,31 +489,31 @@ "JWT Expiration": "Éag JWT", "JWT Token": "Comhartha JWT", "Keep Alive": "Coinnigh Beo", - "Key": "", + "Key": "Eochair", "Keyboard shortcuts": "Aicearraí méarchlár", "Knowledge": "Eolas", - "Knowledge Access": "", + "Knowledge Access": "Rochtain Eolais", "Knowledge created successfully.": "Eolas cruthaithe go rathúil.", "Knowledge deleted successfully.": "D'éirigh leis an eolas a scriosadh.", "Knowledge reset successfully.": "D'éirigh le hathshocrú eolais.", "Knowledge updated successfully": "D'éirigh leis an eolas a nuashonrú", - "Label": "", + "Label": "Lipéad", "Landing Page Mode": "Mód Leathanach Tuirlingthe", "Language": "Teanga", "Last Active": "Gníomhach Deiridh", "Last Modified": "Athraithe Deiridh", - "LDAP": "", - "LDAP server updated": "", + "LDAP": "LDAP", + "LDAP server updated": "Nuashonraíodh freastalaí LDAP", "Leaderboard": "An Clár Ceannairí", "Leave empty for unlimited": "Fág folamh le haghaidh neamhtheoranta", - "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "", - "Leave empty to include all models from \"{{URL}}/models\" endpoint": "", + "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "Fág folamh chun gach múnla ó chríochphointe \"{{URL}}/api/tags\" a chur san áireamh", + "Leave empty to include all models from \"{{URL}}/models\" endpoint": "Fág folamh chun gach múnla ón gcríochphointe \"{{URL}}/models\" a chur san áireamh", "Leave empty to include all models or select specific models": "Fág folamh chun gach múnla a chur san áireamh nó roghnaigh múnlaí sonracha", "Leave empty to use the default prompt, or enter a custom prompt": "Fág folamh chun an pras réamhshocraithe a úsáid, nó cuir isteach pras saincheaptha", "Light": "Solas", "Listening...": "Éisteacht...", "LLMs can make mistakes. Verify important information.": "Is féidir le LLManna botúin a dhéanamh. Fíoraigh faisnéis thábhachtach.", - "Local": "", + "Local": "Áitiúil", "Local Models": "Múnlaí Áitiúla", "Lost": "Cailleadh", "LTR": "LTR", @@ -522,9 +522,9 @@ "Make sure to export a workflow.json file as API format from ComfyUI.": "Déan cinnte comhad workflow.json a onnmhairiú mar fhormáid API ó ComfyUI.", "Manage": "Bainistiú", "Manage Arena Models": "Bainistigh Múnlaí Airéine", - "Manage Ollama": "", - "Manage Ollama API Connections": "", - "Manage OpenAI API Connections": "", + "Manage Ollama": "Bainistigh Ollama", + "Manage Ollama API Connections": "Bainistigh Naisc API Ollama", + "Manage OpenAI API Connections": "Bainistigh Naisc API OpenAI", "Manage Pipelines": "Bainistigh píblín", "March": "Márta", "Max Tokens (num_predict)": "Comharthaí Uasta (num_predicate)", @@ -547,8 +547,8 @@ "Mirostat Eta": "Mirostat Eta", "Mirostat Tau": "Mirostat Tau", "MMMM DD, YYYY": "MMMM LL, BBBB", - "MMMM DD, YYYY HH:mm": "MMMM LL, BBBB HH:mm", - "MMMM DD, YYYY hh:mm:ss A": "MMMM LL, BBBB hh:mm:ss A", + "MMMM DD, YYYY HH:mm": "MMMM LL, BBBB UU:nn", + "MMMM DD, YYYY hh:mm:ss A": "MMMM LL, BBBB uu:nn:ss A", "Model": "Múnla", "Model '{{modelName}}' has been successfully downloaded.": "Rinneadh an tsamhail '{{modelName}}' a íoslódáil go rathúil.", "Model '{{modelTag}}' is already in queue for downloading.": "Tá múnla ‘{{modelTag}}’ sa scuaine cheana féin le híoslódáil.", @@ -558,21 +558,21 @@ "Model accepts image inputs": "Glacann múnla le hionchuir", "Model created successfully!": "Cruthaíodh múnla go rathúil!", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "Braitheadh \u200b\u200bconair chóras comhad samhail. Teastaíonn mionainm múnla le haghaidh nuashonraithe, ní féidir leanúint ar aghaidh.", - "Model Filtering": "", - "Model ID": "ID Mhúnla", - "Model IDs": "", + "Model Filtering": "Scagadh Múnla", + "Model ID": "ID Múnla", + "Model IDs": "IDanna Múnla", "Model Name": "Ainm Múnla", "Model not selected": "Múnla nach roghnaíodh", "Model Params": "Múnla Params", - "Model Permissions": "", + "Model Permissions": "Ceadanna Múnla", "Model updated successfully": "An tsamhail nuashonraithe", "Modelfile Content": "Ábhar Modelfile", "Models": "Múnlaí", - "Models Access": "", + "Models Access": "Rochtain Múnlaí", "more": "níos mó", "More": "Tuilleadh", "Name": "Ainm", - "Name your knowledge base": "", + "Name your knowledge base": "Cuir ainm ar do bhunachar eolais", "New Chat": "Comhrá Nua", "New folder": "Fillteán nua", "New Password": "Pasfhocal Nua", @@ -582,15 +582,15 @@ "No feedbacks found": "Níor aimsíodh aon aiseolas", "No file selected": "Níl aon chomhad roghnaithe", "No files found.": "Níor aimsíodh aon chomhaid.", - "No groups with access, add a group to grant access": "", + "No groups with access, add a group to grant access": "Gan aon ghrúpa a bhfuil rochtain acu, cuir grúpa leis chun rochtain a dheonú", "No HTML, CSS, or JavaScript content found.": "Níor aimsíodh aon ábhar HTML, CSS nó JavaScript.", "No knowledge found": "Níor aimsíodh aon eolas", - "No model IDs": "", + "No model IDs": "Gan IDanna múnla", "No models found": "Níor aimsíodh aon mhúnlaí", "No results found": "Níl aon torthaí le fáil", "No search query generated": "Ní ghintear aon cheist cuardaigh", "No source available": "Níl aon fhoinse ar fáil", - "No users were found.": "", + "No users were found.": "Níor aimsíodh aon úsáideoirí.", "No valves to update": "Gan comhlaí le nuashonrú", "None": "Dada", "Not factually correct": "Níl sé ceart go fírineach", @@ -609,13 +609,13 @@ "Ollama": "Ollama", "Ollama API": "Ollama API", "Ollama API disabled": "Ollama API faoi mhíchumas", - "Ollama API settings updated": "", + "Ollama API settings updated": "Nuashonraíodh socruithe Olama API", "Ollama Version": "Leagan Ollama", "On": "Ar", - "Only alphanumeric characters and hyphens are allowed": "", + "Only alphanumeric characters and hyphens are allowed": "Ní cheadaítear ach carachtair alfa-uimhriúla agus fleiscíní", "Only alphanumeric characters and hyphens are allowed in the command string.": "Ní cheadaítear ach carachtair alfauméireacha agus braithíní sa sreangán ordaithe.", "Only collections can be edited, create a new knowledge base to edit/add documents.": "Ní féidir ach bailiúcháin a chur in eagar, bonn eolais nua a chruthú chun doiciméid a chur in eagar/a chur leis.", - "Only select users and groups with permission can access": "", + "Only select users and groups with permission can access": "Ní féidir ach le húsáideoirí roghnaithe agus le grúpaí a bhfuil cead acu rochtain a fháil", "Oops! Looks like the URL is invalid. Please double-check and try again.": "Ups! Is cosúil go bhfuil an URL neamhbhailí. Seiceáil faoi dhó le do thoil agus iarracht arís.", "Oops! There are files still uploading. Please wait for the upload to complete.": "Úps! Tá comhaid fós á n-uaslódáil. Fan go mbeidh an uaslódáil críochnaithe.", "Oops! There was an error in the previous response.": "Úps! Bhí earráid sa fhreagra roimhe seo.", @@ -624,34 +624,34 @@ "Open in full screen": "Oscail i scáileán iomlán", "Open new chat": "Oscail comhrá nua", "Open WebUI uses faster-whisper internally.": "Úsáideann Open WebUI cogar níos tapúla go hinmheánach.", - "Open WebUI uses SpeechT5 and CMU Arctic speaker embeddings.": "", + "Open WebUI uses SpeechT5 and CMU Arctic speaker embeddings.": "Úsáideann Open WebUI úsáidí SpeechT5 agus CMU leabaithe cainteoir Artach.", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "Tá leagan WebUI oscailte (v{{OPEN_WEBUI_VERSION}}) níos ísle ná an leagan riachtanach (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", "OpenAI API": "API OpenAI", "OpenAI API Config": "Cumraíocht API OpenAI", "OpenAI API Key is required.": "Tá Eochair API OpenAI ag teastáil.", - "OpenAI API settings updated": "", + "OpenAI API settings updated": "Nuashonraíodh socruithe OpenAI API", "OpenAI URL/Key required.": "Teastaíonn URL/eochair OpenAI.", "or": "nó", - "Organize your users": "", + "Organize your users": "Eagraigh do chuid úsáideoirí", "Other": "Eile", "OUTPUT": "ASCHUR", "Output format": "Formáid aschuir", "Overview": "Forbhreathnú", "page": "leathanach", "Password": "Pasfhocal", - "Paste Large Text as File": "", + "Paste Large Text as File": "Greamaigh Téacs Mór mar Chomhad", "PDF document (.pdf)": "Doiciméad PDF (.pdf)", "PDF Extract Images (OCR)": "Íomhánna Sliocht PDF (OCR)", "pending": "ar feitheamh", "Permission denied when accessing media devices": "Cead diúltaithe nuair a bhíonn rochtain agat", "Permission denied when accessing microphone": "Cead diúltaithe agus tú ag rochtain ar", "Permission denied when accessing microphone: {{error}}": "Cead diúltaithe agus tú ag teacht ar mhicreafón: {{error}}", - "Permissions": "", + "Permissions": "Ceadanna", "Personalization": "Pearsantú", "Pin": "Bioráin", "Pinned": "Pinneáilte", - "Pioneer insights": "", + "Pioneer insights": "Léargais ceannródaí", "Pipeline deleted successfully": "Scriosta píblíne go rathúil", "Pipeline downloaded successfully": "Íoslódáilte píblíne", "Pipelines": "Píblínte", @@ -663,23 +663,23 @@ "Please enter a prompt": "Cuir isteach leid", "Please fill in all fields.": "Líon isteach gach réimse le do thoil.", "Please select a reason": "Roghnaigh cúis le do thoil", - "Port": "", + "Port": "Port", "Positive attitude": "Dearcadh dearfach", - "Prefix ID": "", - "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "", + "Prefix ID": "Aitheantas Réimír", + "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "Úsáidtear Aitheantas Réimír chun coinbhleachtaí le naisc eile a sheachaint trí réimír a chur le haitheantas na samhla - fág folamh le díchumasú", "Previous 30 days": "30 lá roimhe seo", "Previous 7 days": "7 lá roimhe seo", "Profile Image": "Íomhá Próifíl", "Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Pras (m.sh. inis dom fíric spraíúil faoin Impireacht Rómhánach)", "Prompt Content": "Ábhar Pras", - "Prompt created successfully": "", + "Prompt created successfully": "Leid cruthaithe go rathúil", "Prompt suggestions": "Moltaí pras", - "Prompt updated successfully": "", + "Prompt updated successfully": "D'éirigh leis an leid a nuashonrú", "Prompts": "Leabhair", - "Prompts Access": "", + "Prompts Access": "Rochtain ar Chuirí", "Pull \"{{searchValue}}\" from Ollama.com": "Tarraing \"{{searchValue}}\" ó Ollama.com", "Pull a model from Ollama.com": "Tarraing múnla ó Ollama.com", - "Query Generation Prompt": "", + "Query Generation Prompt": "Cuirí Ginearáil Ceisteanna", "Query Params": "Fiosrúcháin Params", "RAG Template": "Teimpléad RAG", "Rating": "Rátáil", @@ -687,7 +687,7 @@ "Read Aloud": "Léigh Ard", "Record voice": "Taifead guth", "Redirecting you to OpenWebUI Community": "Tú a atreorú chuig OpenWebUI Community", - "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "", + "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "Laghdaíonn sé an dóchúlacht go giniúint nonsense. Tabharfaidh luach níos airde (m.sh. 100) freagraí níos éagsúla, agus beidh luach níos ísle (m.sh. 10) níos coimeádaí. (Réamhshocrú: 40)", "Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "Tagairt duit féin mar \"Úsáideoir\" (m.sh., \"Tá an úsáideoir ag foghlaim Spáinnis\")", "References from": "Tagairtí ó", "Refused when it shouldn't have": "Diúltaíodh nuair nár chóir dó", @@ -725,19 +725,19 @@ "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Ní thacaítear le logaí comhrá a shábháil go díreach chuig stóráil do bhrabhsálaí Tóg nóiméad chun do logaí comhrá a íoslódáil agus a scriosadh trí chliceáil an cnaipe thíos. Ná bíodh imní ort, is féidir leat do logaí comhrá a athiompórtáil go héasca chuig an gcúltaca trí", "Scroll to bottom when switching between branches": "Scrollaigh go bun agus tú ag athrú idir brainsí", "Search": "Cuardaigh", - "Search a model": "Cuardaigh samhail", - "Search Base": "", + "Search a model": "Cuardaigh múnla", + "Search Base": "Bonn Cuardaigh", "Search Chats": "Cuardaigh Comhráite", "Search Collection": "Bailiúchán Cuardaigh", - "Search Filters": "", + "Search Filters": "Scagairí Cuardaigh", "search for tags": "cuardach le haghaidh clibeanna", "Search Functions": "Feidhmeanna Cuardaigh", "Search Knowledge": "Cuardaigh Eolais", "Search Models": "Múnlaí Cuardaigh", - "Search options": "", + "Search options": "Roghanna cuardaigh", "Search Prompts": "Leideanna Cuardaigh", "Search Result Count": "Líon Torthaí Cuardaigh", - "Search the web": "", + "Search the web": "Cuardaigh an gréasán", "Search Tools": "Uirlisí Cuardaigh", "SearchApi API Key": "Eochair API SearchAPI", "SearchApi Engine": "Inneall SearchAPI", @@ -752,7 +752,7 @@ "Select a base model": "Roghnaigh bunmhúnla", "Select a engine": "Roghnaigh inneall", "Select a function": "Roghnaigh feidhm", - "Select a group": "", + "Select a group": "Roghnaigh grúpa", "Select a model": "Roghnaigh samhail", "Select a pipeline": "Roghnaigh píblíne", "Select a pipeline url": "Roghnaigh url píblíne", @@ -775,7 +775,7 @@ "Set as default": "Socraigh mar réamhshocraithe", "Set CFG Scale": "Socraigh Scála CFG", "Set Default Model": "Socraigh Samhail Réamhshocrú", - "Set embedding model": "", + "Set embedding model": "Socraigh samhail leabaithe", "Set embedding model (e.g. {{model}})": "Socraigh samhail leabaithe (m.sh. {{model}})", "Set Image Size": "Socraigh Méid Íomhá", "Set reranking model (e.g. {{model}})": "Socraigh samhail athrangú (m.sh. {{model}})", @@ -783,29 +783,29 @@ "Set Scheduler": "Socraigh Sceidealóir", "Set Steps": "Socraigh Céimeanna", "Set Task Model": "Socraigh Samhail Tasc", - "Set the number of GPU devices used for computation. This option controls how many GPU devices (if available) are used to process incoming requests. Increasing this value can significantly improve performance for models that are optimized for GPU acceleration but may also consume more power and GPU resources.": "", - "Set the number of worker threads used for computation. This option controls how many threads are used to process incoming requests concurrently. Increasing this value can improve performance under high concurrency workloads but may also consume more CPU resources.": "", + "Set the number of GPU devices used for computation. This option controls how many GPU devices (if available) are used to process incoming requests. Increasing this value can significantly improve performance for models that are optimized for GPU acceleration but may also consume more power and GPU resources.": "Socraigh líon na bhfeistí GPU a úsáidtear le haghaidh ríomh. Rialaíonn an rogha seo cé mhéad gléas GPU (má tá siad ar fáil) a úsáidtear chun iarratais isteach a phróiseáil. Is féidir leis an luach seo a mhéadú feabhas suntasach a chur ar fheidhmíocht do mhúnlaí atá optamaithe le haghaidh luasghéarú GPU ach d’fhéadfadh go n-ídíonn siad níos mó cumhachta agus acmhainní GPU freisin.", + "Set the number of worker threads used for computation. This option controls how many threads are used to process incoming requests concurrently. Increasing this value can improve performance under high concurrency workloads but may also consume more CPU resources.": "Socraigh líon na snáitheanna oibrithe a úsáidtear le haghaidh ríomh. Rialaíonn an rogha seo cé mhéad snáithe a úsáidtear chun iarratais a thagann isteach a phróiseáil i gcomhthráth. D'fhéadfadh méadú ar an luach seo feidhmíocht a fheabhsú faoi ualaí oibre comhairgeadra ard ach féadfaidh sé níos mó acmhainní LAP a úsáid freisin.", "Set Voice": "Socraigh Guth", "Set whisper model": "Socraigh múnla cogar", - "Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx)": "", - "Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)": "", - "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt. (Default: random)": "", - "Sets the size of the context window used to generate the next token. (Default: 2048)": "", - "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "", + "Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx)": "Socraíonn sé cé chomh fada siar is atá an tsamhail le breathnú siar chun athrá a chosc. (Réamhshocrú: 64, 0 = díchumasaithe, -1 = num_ctx)", + "Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)": "Socraíonn sé cé chomh láidir is féidir pionós a ghearradh ar athrá. Cuirfidh luach níos airde (m.sh., 1.5) pionós níos láidre ar athrá, agus beidh luach níos ísle (m.sh., 0.9) níos boige. (Réamhshocrú: 1.1)", + "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt. (Default: random)": "Socraíonn sé an síol uimhir randamach a úsáid le haghaidh giniúna. Má shocraítear é seo ar uimhir shainiúil, ginfidh an tsamhail an téacs céanna don leid céanna. (Réamhshocrú: randamach)", + "Sets the size of the context window used to generate the next token. (Default: 2048)": "Socraíonn sé méid na fuinneoige comhthéacs a úsáidtear chun an chéad chomhartha eile a ghiniúint. (Réamhshocrú: 2048)", + "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "Socraíonn sé na stadanna le húsáid. Nuair a thagtar ar an bpatrún seo, stopfaidh an LLM ag giniúint téacs agus ag filleadh. Is féidir patrúin stad iolracha a shocrú trí pharaiméadair stadanna iolracha a shonrú i gcomhad samhail.", "Settings": "Socruithe", "Settings saved successfully!": "Socruithe sábhálta go rathúil!", "Share": "Comhroinn", "Share Chat": "Comhroinn Comhrá", "Share to OpenWebUI Community": "Comhroinn le Pobal OpenWebUI", "Show": "Taispeáin", - "Show \"What's New\" modal on login": "", + "Show \"What's New\" modal on login": "Taispeáin módúil \"Cad atá Nua\" ar logáil isteach", "Show Admin Details in Account Pending Overlay": "Taispeáin Sonraí Riaracháin sa Chuntas ar Feitheamh Forleagan", "Show shortcuts": "Taispeáin aicearraí", "Show your support!": "Taispeáin do thacaíocht!", "Showcased creativity": "Cruthaitheacht léirithe", "Sign in": "Sínigh isteach", "Sign in to {{WEBUI_NAME}}": "Sínigh isteach ar {{WEBUI_NAME}}", - "Sign in to {{WEBUI_NAME}} with LDAP": "", + "Sign in to {{WEBUI_NAME}} with LDAP": "Sínigh isteach ar {{WEBUI_NAME}} le LDAP", "Sign Out": "Sínigh Amach", "Sign up": "Cláraigh", "Sign up to {{WEBUI_NAME}}": "Cláraigh le {{WEBUI_NAME}}", @@ -830,7 +830,7 @@ "System Instructions": "Treoracha Córas", "System Prompt": "Córas Pras", "Tags Generation Prompt": "Clibeanna Giniúint Pras", - "Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting. (default: 1)": "", + "Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting. (default: 1)": "Úsáidtear sampláil saor ó eireabaill chun tionchar na n-chomharthaí ón aschur nach bhfuil chomh dóchúil céanna a laghdú. Laghdóidh luach níos airde (m.sh., 2.0) an tionchar níos mó, agus díchumasaíonn luach 1.0 an socrú seo. (réamhshocraithe: 1)", "Tap to interrupt": "Tapáil chun cur isteach", "Tavily API Key": "Eochair API Tavily", "Tell us more:": "Inis dúinn níos mó:", @@ -841,30 +841,30 @@ "Text-to-Speech Engine": "Inneall téacs-go-labhra", "Tfs Z": "TFS Z", "Thanks for your feedback!": "Go raibh maith agat as do chuid aiseolas!", - "The Application Account DN you bind with for search": "", - "The base to search for users": "", - "The batch size determines how many text requests are processed together at once. A higher batch size can increase the performance and speed of the model, but it also requires more memory. (Default: 512)": "", + "The Application Account DN you bind with for search": "An Cuntas Feidhmchláir DN a nascann tú leis le haghaidh cuardaigh", + "The base to search for users": "An bonn chun cuardach a dhéanamh ar úsáideoirí", + "The batch size determines how many text requests are processed together at once. A higher batch size can increase the performance and speed of the model, but it also requires more memory. (Default: 512)": "Cinneann méid an bhaisc cé mhéad iarratas téacs a phróiseáiltear le chéile ag an am céanna. Is féidir le méid baisc níos airde feidhmíocht agus luas an mhúnla a mhéadú, ach éilíonn sé níos mó cuimhne freisin. (Réamhshocrú: 512)", "The developers behind this plugin are passionate volunteers from the community. If you find this plugin helpful, please consider contributing to its development.": "Is deonacha paiseanta ón bpobal iad na forbróirí taobh thiar den bhreiseán seo. Má aimsíonn an breiseán seo cabhrach leat, smaoinigh ar rannchuidiú lena fhorbairt.", "The evaluation leaderboard is based on the Elo rating system and is updated in real-time.": "Tá an clár ceannairí meastóireachta bunaithe ar chóras rátála Elo agus déantar é a nuashonrú i bhfíor-am.", - "The LDAP attribute that maps to the username that users use to sign in.": "", + "The LDAP attribute that maps to the username that users use to sign in.": "An tréith LDAP a mhapálann don ainm úsáideora a úsáideann úsáideoirí chun síniú isteach.", "The leaderboard is currently in beta, and we may adjust the rating calculations as we refine the algorithm.": "Tá an clár ceannairí i béite faoi láthair, agus d'fhéadfaimis na ríomhanna rátála a choigeartú de réir mar a dhéanfaimid an t-algartam a bheachtú.", "The maximum file size in MB. If the file size exceeds this limit, the file will not be uploaded.": "Uasmhéid an chomhaid i MB. Má sháraíonn méid an chomhaid an teorainn seo, ní uaslódófar an comhad.", "The maximum number of files that can be used at once in chat. If the number of files exceeds this limit, the files will not be uploaded.": "An líon uasta na gcomhaid is féidir a úsáid ag an am céanna i gcomhrá. Má sháraíonn líon na gcomhaid an teorainn seo, ní uaslódófar na comhaid.", "The score should be a value between 0.0 (0%) and 1.0 (100%).": "Ba chóir go mbeadh an scór ina luach idir 0.0 (0%) agus 1.0 (100%).", - "The temperature of the model. Increasing the temperature will make the model answer more creatively. (Default: 0.8)": "", + "The temperature of the model. Increasing the temperature will make the model answer more creatively. (Default: 0.8)": "Teocht an mhúnla. Déanfaidh méadú ar an teocht an freagra múnla níos cruthaithí. (Réamhshocrú: 0.8)", "Theme": "Téama", "Thinking...": "Smaointeoireacht...", "This action cannot be undone. Do you wish to continue?": "Ní féidir an gníomh seo a chur ar ais. Ar mhaith leat leanúint ar aghaidh?", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Cinntíonn sé seo go sábhálfar do chomhráite luachmhara go daingean i do bhunachar sonraí cúltaca Go raibh maith agat!", "This is an experimental feature, it may not function as expected and is subject to change at any time.": "Is gné turgnamhach í seo, b'fhéidir nach bhfeidhmeoidh sé mar a bhíothas ag súil leis agus tá sé faoi réir athraithe ag am ar bith.", - "This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics. (Default: 24)": "", - "This option sets the maximum number of tokens the model can generate in its response. Increasing this limit allows the model to provide longer answers, but it may also increase the likelihood of unhelpful or irrelevant content being generated. (Default: 128)": "", + "This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics. (Default: 24)": "Rialaíonn an rogha seo cé mhéad comhartha a chaomhnaítear agus an comhthéacs á athnuachan. Mar shampla, má shocraítear go 2 é, coinneofar an 2 chomhartha dheireanacha de chomhthéacs an chomhrá. Is féidir le comhthéacs a chaomhnú cabhrú le leanúnachas comhrá a choinneáil, ach d’fhéadfadh sé laghdú a dhéanamh ar an gcumas freagairt do thopaicí nua. (Réamhshocrú: 24)", + "This option sets the maximum number of tokens the model can generate in its response. Increasing this limit allows the model to provide longer answers, but it may also increase the likelihood of unhelpful or irrelevant content being generated. (Default: 128)": "Socraíonn an rogha seo an t-uaslíon comharthaí is féidir leis an tsamhail a ghiniúint ina fhreagra. Tríd an teorainn seo a mhéadú is féidir leis an tsamhail freagraí níos faide a sholáthar, ach d’fhéadfadh go méadódh sé an dóchúlacht go nginfear ábhar neamhchabhrach nó nach mbaineann le hábhar. (Réamhshocrú: 128)", "This option will delete all existing files in the collection and replace them with newly uploaded files.": "Scriosfaidh an rogha seo gach comhad atá sa bhailiúchán agus cuirfear comhaid nua-uaslódála ina n-ionad.", "This response was generated by \"{{model}}\"": "Gin an freagra seo ag \"{{model}}\"", "This will delete": "Scriosfaidh sé seo", "This will delete {{NAME}} and all its contents.": "Scriosfaidh sé seo {{NAME}} agus a bhfuil ann go léir.", - "This will delete all models including custom models": "", - "This will delete all models including custom models and cannot be undone.": "", + "This will delete all models including custom models": "Scriosfaidh sé seo gach múnla lena n-áirítear samhlacha saincheaptha", + "This will delete all models including custom models and cannot be undone.": "Scriosfaidh sé seo gach samhail lena n-áirítear samhlacha saincheaptha agus ní féidir é a chealú.", "This will reset the knowledge base and sync all files. Do you wish to continue?": "Déanfaidh sé seo an bonn eolais a athshocrú agus gach comhad a shioncronú. Ar mhaith leat leanúint ar aghaidh?", "Thorough explanation": "Míniú críochnúil", "Tika": "Tika", @@ -876,7 +876,7 @@ "Title Auto-Generation": "Teideal Auto-Generation", "Title cannot be an empty string.": "Ní féidir leis an teideal a bheith ina teaghrán folamh.", "Title Generation Prompt": "Pras Giniúint Teideal", - "TLS": "", + "TLS": "TLS", "To access the available model names for downloading,": "Chun teacht ar na hainmneacha múnla atá ar fáil le híoslódáil,", "To access the GGUF models available for downloading,": "Chun rochtain a fháil ar na múnlaí GGUF atá ar fáil le híoslódáil,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "Chun rochtain a fháil ar an WebUI, déan teagmháil leis an riarthóir le do thoil. Is féidir le riarthóirí stádas úsáideora a bhainistiú ón bPainéal Riaracháin.", @@ -894,19 +894,19 @@ "Too verbose": "Ró-fhocal", "Tool created successfully": "Uirlis cruthaithe go rathúil", "Tool deleted successfully": "Uirlis scriosta go rathúil", - "Tool Description": "", - "Tool ID": "", + "Tool Description": "Cur síos ar an Uirlis", + "Tool ID": "ID Uirlis", "Tool imported successfully": "Uirlis iompórtáilte", - "Tool Name": "", + "Tool Name": "Ainm Uirlis", "Tool updated successfully": "An uirlis nuashonraithe", "Tools": "Uirlisí", - "Tools Access": "", + "Tools Access": "Rochtain Uirlisí", "Tools are a function calling system with arbitrary code execution": "Is córas glaonna feidhme iad uirlisí le forghníomhú cód treallach", "Tools have a function calling system that allows arbitrary code execution": "Tá córas glaonna feidhme ag uirlisí a cheadaíonn forghníomhú cód treallach", "Tools have a function calling system that allows arbitrary code execution.": "Tá córas glaonna feidhme ag uirlisí a cheadaíonn forghníomhú cód treallach.", "Top K": "Barr K", "Top P": "Barr P", - "Transformers": "", + "Transformers": "Claochladáin", "Trouble accessing Ollama?": "Deacracht teacht ar Ollama?", "TTS Model": "TTS Múnla", "TTS Settings": "Socruithe TTS", @@ -915,12 +915,12 @@ "Type Hugging Face Resolve (Download) URL": "Cineál Hugging Face Resolve (Íoslódáil) URL", "Uh-oh! There was an issue connecting to {{provider}}.": "Uh-oh! Bhí ceist ann ag nascadh le {{provider}}.", "UI": "UI", - "Unarchive All": "", - "Unarchive All Archived Chats": "", - "Unarchive Chat": "", - "Unlock mysteries": "", + "Unarchive All": "Díchartlannaigh Uile", + "Unarchive All Archived Chats": "Díchartlannaigh Gach Comhrá Cartlainne", + "Unarchive Chat": "Comhrá a dhíchartlannú", + "Unlock mysteries": "Díghlasáil rúndiamhra", "Unpin": "Díphoráil", - "Unravel secrets": "", + "Unravel secrets": "Rúin a réiteach", "Untagged": "Gan chlib", "Update": "Nuashonraigh", "Update and Copy Link": "Nuashonraigh agus Cóipeáil Nasc", @@ -936,18 +936,18 @@ "Upload Files": "Uaslódáil Comhaid", "Upload Pipeline": "Uaslódáil píblíne", "Upload Progress": "Uaslódáil an Dul", - "URL": "", + "URL": "URL", "URL Mode": "Mód URL", "Use '#' in the prompt input to load and include your knowledge.": "Úsáid '#' san ionchur pras chun do chuid eolais a lódáil agus a chur san áireamh.", "Use Gravatar": "Úsáid Gravatar", - "Use groups to group your users and assign permissions.": "", + "Use groups to group your users and assign permissions.": "Úsáid grúpaí chun d'úsáideoirí a ghrúpáil agus ceadanna a shannadh", "Use Initials": "Úsáid ceannlitreacha", "use_mlock (Ollama)": "use_mlock (Ollama)", "use_mmap (Ollama)": "use_mmap (Ollama)", "user": "úsáideoir", "User": "Úsáideoir", "User location successfully retrieved.": "Fuarthas suíomh an úsáideora go rathúil.", - "Username": "", + "Username": "Ainm Úsáideora", "Users": "Úsáideoirí", "Using the default arena model with all models. Click the plus button to add custom models.": "Ag baint úsáide as an múnla réimse réamhshocraithe le gach múnlaí. Cliceáil ar an gcnaipe móide chun múnlaí saincheaptha a chur leis.", "Utilize": "Úsáid", @@ -959,12 +959,12 @@ "variable to have them replaced with clipboard content.": "athróg chun ábhar gearrthaisce a chur in ionad iad.", "Version": "Leagan", "Version {{selectedVersion}} of {{totalVersions}}": "Leagan {{selectedVersion}} de {{totalVersions}}", - "Visibility": "", + "Visibility": "Infheictheacht", "Voice": "Guth", "Voice Input": "Ionchur Gutha", "Warning": "Rabhadh", "Warning:": "Rabhadh:", - "Warning: Enabling this will allow users to upload arbitrary code on the server.": "", + "Warning: Enabling this will allow users to upload arbitrary code on the server.": "Rabhadh: Cuirfidh sé seo ar chumas úsáideoirí cód treallach a uaslódáil ar an bhfreastalaí.", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Rabhadh: Má nuashonraíonn tú nó má athraíonn tú do mhúnla leabaithe, beidh ort gach doiciméad a athiompórtáil.", "Web": "Gréasán", "Web API": "API Gréasáin", @@ -973,30 +973,30 @@ "Web Search Engine": "Inneall Cuardaigh Gréasáin", "Webhook URL": "URL Webhook", "WebUI Settings": "Socruithe WebUI", - "WebUI will make requests to \"{{url}}/api/chat\"": "", - "WebUI will make requests to \"{{url}}/chat/completions\"": "", - "What are you trying to achieve?": "", - "What are you working on?": "", + "WebUI will make requests to \"{{url}}/api/chat\"": "Déanfaidh WebUI iarratais ar \"{{url}}/api/chat\"", + "WebUI will make requests to \"{{url}}/chat/completions\"": "Déanfaidh WebUI iarratais ar \"{{url}}/chat/completions\"", + "What are you trying to achieve?": "Cad atá tú ag iarraidh a bhaint amach?", + "What are you working on?": "Cad air a bhfuil tú ag obair?", "What’s New in": "Cad atá Nua i", - "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "", - "wherever you are": "", + "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "Nuair a bheidh sé cumasaithe, freagróidh an tsamhail gach teachtaireacht comhrá i bhfíor-am, ag giniúint freagra a luaithe a sheolann an t-úsáideoir teachtaireacht. Tá an mód seo úsáideach le haghaidh feidhmchláir chomhrá beo, ach d’fhéadfadh tionchar a bheith aige ar fheidhmíocht ar chrua-earraí níos moille.", + "wherever you are": "aon áit a bhfuil tú", "Whisper (Local)": "Whisper (Áitiúil)", - "Why?": "", + "Why?": "Cén fáth?", "Widescreen Mode": "Mód Leathanscáileán", "Won": "Bhuaigh", - "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "", + "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "Oibríonn sé le barr-k. Beidh téacs níos éagsúla mar thoradh ar luach níos airde (m.sh., 0.95), agus ginfidh luach níos ísle (m.sh., 0.5) téacs níos dírithe agus níos coimeádaí. (Réamhshocrú: 0.9)", "Workspace": "Spás oibre", - "Workspace Permissions": "", + "Workspace Permissions": "Ceadanna Spás Oibre", "Write a prompt suggestion (e.g. Who are you?)": "Scríobh moladh pras (m.sh. Cé hé tú?)", "Write a summary in 50 words that summarizes [topic or keyword].": "Scríobh achoimre i 50 focal a dhéanann achoimre ar [ábhar nó eochairfhocal].", "Write something...": "Scríobh rud...", - "Write your model template content here": "", + "Write your model template content here": "Scríobh do mhúnla ábhar teimpléad anseo", "Yesterday": "Inné", "You": "Tú", "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Ní féidir leat comhrá a dhéanamh ach le comhad {{maxCount}} ar a mhéad ag an am.", "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Is féidir leat do chuid idirghníomhaíochtaí le LLManna a phearsantú ach cuimhní cinn a chur leis tríd an gcnaipe 'Bainistigh' thíos, rud a fhágann go mbeidh siad níos cabhrach agus níos oiriúnaí duit.", "You cannot upload an empty file.": "Ní féidir leat comhad folamh a uaslódáil.", - "You do not have permission to upload files.": "", + "You do not have permission to upload files.": "Níl cead agat comhaid a uaslódáil.", "You have no archived conversations.": "Níl aon chomhráite cartlainne agat.", "You have shared this chat": "Tá an comhrá seo roinnte agat", "You're a helpful assistant.": "Is cúntóir cabhrach tú.", From b1237cf389e23b49d5e622258a37abd328687ae5 Mon Sep 17 00:00:00 2001 From: alexey_rechkalov Date: Thu, 21 Nov 2024 18:05:02 +0500 Subject: [PATCH 10/83] Fixed security vulnerability: now LDAP password hashes are not stored, same as trusted header auth. LDAP users role now getting DEFAULT_USER_ROLE, not "pending". --- backend/open_webui/apps/webui/routers/auths.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/backend/open_webui/apps/webui/routers/auths.py b/backend/open_webui/apps/webui/routers/auths.py index 63ee5e3b0..9c0a6e452 100644 --- a/backend/open_webui/apps/webui/routers/auths.py +++ b/backend/open_webui/apps/webui/routers/auths.py @@ -238,10 +238,20 @@ async def ldap_auth(request: Request, response: Response, form_data: LdapForm): user = Users.get_user_by_email(mail) if not user: - try: - hashed = get_password_hash(form_data.password) - user = Auths.insert_new_auth(mail, hashed, cn) + role = ( + "admin" + if Users.get_num_users() == 0 + else request.app.state.config.DEFAULT_USER_ROLE + ) + + user = Auths.insert_new_auth( + mail, + str(uuid.uuid4()), + cn, + None, + role, + ) if not user: raise HTTPException( @@ -253,7 +263,7 @@ async def ldap_auth(request: Request, response: Response, form_data: LdapForm): except Exception as err: raise HTTPException(500, detail=ERROR_MESSAGES.DEFAULT(err)) - user = Auths.authenticate_user(mail, password=str(form_data.password)) + user = Auths.authenticate_user_by_trusted_header(mail) if user: token = create_token( From b9e637ee2bf5ed82c02626a5f87477780e389b0a Mon Sep 17 00:00:00 2001 From: alexey_rechkalov Date: Thu, 21 Nov 2024 18:09:40 +0500 Subject: [PATCH 11/83] Now ENABLE_LOGIN_FORM=False disabling only email form. LDAP form will be showed instead. Also added "name" property to inputs for Chrome autocompletion. --- src/routes/auth/+page.svelte | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index f40307816..2148061e7 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -203,7 +203,7 @@ {/if}
- {#if $config?.features.enable_login_form} + {#if $config?.features.enable_login_form || $config?.features.enable_ldap}
{#if mode === 'signup'}
@@ -227,6 +227,7 @@ type="text" class="my-0.5 w-full text-sm outline-none bg-transparent" autocomplete="username" + name="username" placeholder={$i18n.t('Enter Your Username')} required /> @@ -239,6 +240,7 @@ type="email" class="my-0.5 w-full text-sm outline-none bg-transparent" autocomplete="email" + name="email" placeholder={$i18n.t('Enter Your Email')} required /> @@ -254,13 +256,14 @@ class="my-0.5 w-full text-sm outline-none bg-transparent" placeholder={$i18n.t('Enter Your Password')} autocomplete="current-password" + name="current-password" required />
{/if}
- {#if $config?.features.enable_login_form} + {#if $config?.features.enable_login_form || $config?.features.enable_ldap} {#if mode === 'ldap'}
{/if} -
+
{citation.source.name}
diff --git a/src/lib/components/chat/Messages/Markdown/Source.svelte b/src/lib/components/chat/Messages/Markdown/Source.svelte index 02b3070bc..dad70c898 100644 --- a/src/lib/components/chat/Messages/Markdown/Source.svelte +++ b/src/lib/components/chat/Messages/Markdown/Source.svelte @@ -14,7 +14,7 @@
- {_citations.length - 2} + {citations.length - 2} {$i18n.t('more')}
@@ -166,7 +168,7 @@
- {#each _citations as citation, idx} + {#each citations as citation, idx}
{/if}
{citation.source.name}
diff --git a/src/lib/components/chat/Messages/Markdown/Source.svelte b/src/lib/components/chat/Messages/Markdown/Source.svelte index dad70c898..5ff1b8eec 100644 --- a/src/lib/components/chat/Messages/Markdown/Source.svelte +++ b/src/lib/components/chat/Messages/Markdown/Source.svelte @@ -14,10 +14,12 @@ From ea28747baa35b910239aedc3f1e33b445bef4cda Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 20:29:54 -0800 Subject: [PATCH 27/83] fix: knowledge base reset --- src/lib/components/workspace/Knowledge/KnowledgeBase.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte b/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte index 8d4b3f028..659371602 100644 --- a/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte +++ b/src/lib/components/workspace/Knowledge/KnowledgeBase.svelte @@ -68,7 +68,7 @@ let inputFiles = null; let filteredItems = []; - $: if (knowledge) { + $: if (knowledge && knowledge.files) { fuse = new Fuse(knowledge.files, { keys: ['meta.name', 'meta.description'] }); From e18a43aec8ea74906397071987647def920cc9d1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 20:39:00 -0800 Subject: [PATCH 28/83] fix: styling --- .../admin/Settings/Connections/OpenAIConnection.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/admin/Settings/Connections/OpenAIConnection.svelte b/src/lib/components/admin/Settings/Connections/OpenAIConnection.svelte index 1e3f5a69b..e6953bd78 100644 --- a/src/lib/components/admin/Settings/Connections/OpenAIConnection.svelte +++ b/src/lib/components/admin/Settings/Connections/OpenAIConnection.svelte @@ -60,7 +60,7 @@ /> {#if pipeline} -
+
Date: Thu, 21 Nov 2024 20:49:40 -0800 Subject: [PATCH 29/83] fix: openai connection config --- backend/open_webui/apps/openai/main.py | 2 ++ src/lib/components/admin/Settings/Models.svelte | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/apps/openai/main.py b/backend/open_webui/apps/openai/main.py index 42f4388f5..ee3443ac9 100644 --- a/backend/open_webui/apps/openai/main.py +++ b/backend/open_webui/apps/openai/main.py @@ -302,6 +302,8 @@ async def get_all_models_responses() -> list: } tasks.append(asyncio.ensure_future(asyncio.sleep(0, model_list))) + else: + tasks.append(asyncio.ensure_future(asyncio.sleep(0, None))) responses = await asyncio.gather(*tasks) diff --git a/src/lib/components/admin/Settings/Models.svelte b/src/lib/components/admin/Settings/Models.svelte index c807e87c7..b7084d8ce 100644 --- a/src/lib/components/admin/Settings/Models.svelte +++ b/src/lib/components/admin/Settings/Models.svelte @@ -186,7 +186,7 @@
{#if models.length > 0} - {#each filteredModels as model (model.id)} + {#each filteredModels as model, modelIdx (`${model.id}-${modelIdx}`)}
Date: Thu, 21 Nov 2024 21:04:35 -0800 Subject: [PATCH 30/83] refac: optimisation --- backend/open_webui/apps/ollama/main.py | 5 +++-- backend/open_webui/apps/openai/main.py | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/apps/ollama/main.py b/backend/open_webui/apps/ollama/main.py index c13a1cbc3..b44f68017 100644 --- a/backend/open_webui/apps/ollama/main.py +++ b/backend/open_webui/apps/ollama/main.py @@ -9,6 +9,8 @@ from typing import Optional, Union from urllib.parse import urlparse import aiohttp +from aiocache import cached + import requests from open_webui.apps.webui.models.models import Models from open_webui.config import ( @@ -256,6 +258,7 @@ def merge_models_lists(model_lists): return list(merged_models.values()) +@cached(ttl=3) async def get_all_models(): log.info("get_all_models()") if app.state.config.ENABLE_OLLAMA_API: @@ -295,8 +298,6 @@ async def get_all_models(): for model in response.get("models", []): model["model"] = f"{prefix_id}.{model['model']}" - print(responses) - models = { "models": merge_models_lists( map( diff --git a/backend/open_webui/apps/openai/main.py b/backend/open_webui/apps/openai/main.py index ee3443ac9..6d6ac50c6 100644 --- a/backend/open_webui/apps/openai/main.py +++ b/backend/open_webui/apps/openai/main.py @@ -6,7 +6,10 @@ from pathlib import Path from typing import Literal, Optional, overload import aiohttp +from aiocache import cached import requests + + from open_webui.apps.webui.models.models import Models from open_webui.config import ( CACHE_DIR, @@ -325,6 +328,7 @@ async def get_all_models_responses() -> list: return responses +@cached(ttl=3) async def get_all_models() -> dict[str, list]: log.info("get_all_models()") From 12c8257c929d56582c5ac5b3f63c4ef4580df2f8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 21:32:19 -0800 Subject: [PATCH 31/83] refac --- backend/open_webui/apps/retrieval/main.py | 7 ++----- src/lib/components/common/RichTextInput.svelte | 7 ++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index ba53a1c89..a4be5e87c 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -893,10 +893,7 @@ def process_file( # Update the content in the file # Usage: /files/{file_id}/data/content/update - VECTOR_DB_CLIENT.delete( - collection_name=f"file-{file.id}", - filter={"file_id": file.id}, - ) + VECTOR_DB_CLIENT.delete(collection_name=f"file-{file.id}") docs = [ Document( @@ -1001,7 +998,7 @@ def process_file( collection_name=collection_name, metadata={ "file_id": file.id, - "name": file.meta.get("name", file.filename), + "name": file.filename, "hash": hash, }, add=(True if form_data.collection_name else False), diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 232a739c4..ebd5950c8 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -36,6 +36,10 @@ let element; let editor; + const options = { + throwOnError: false + }; + // Function to find the next template in the document function findNextTemplate(doc, from = 0) { const patterns = [ @@ -113,6 +117,7 @@ }; onMount(() => { + const content = marked.parse(value); editor = new Editor({ element: element, extensions: [ @@ -124,7 +129,7 @@ Typography, Placeholder.configure({ placeholder }) ], - content: marked.parse(value), + content: content, autofocus: true, onTransaction: () => { // force re-render so `editor.isActive` works as expected From 2e7af7bdbf506d2ea8c2e5d0ac90ef78780a28ab Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:03:51 -0800 Subject: [PATCH 32/83] fix --- backend/open_webui/apps/retrieval/main.py | 4 ++-- backend/open_webui/apps/retrieval/utils.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index a4be5e87c..63bc18190 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -893,7 +893,7 @@ def process_file( # Update the content in the file # Usage: /files/{file_id}/data/content/update - VECTOR_DB_CLIENT.delete(collection_name=f"file-{file.id}") + VECTOR_DB_CLIENT.delete_collection(collection_name=f"file-{file.id}") docs = [ Document( @@ -1015,7 +1015,7 @@ def process_file( return { "status": True, "collection_name": collection_name, - "filename": file.meta.get("name", file.filename), + "filename": file.filename, "content": text_content, } except Exception as e: diff --git a/backend/open_webui/apps/retrieval/utils.py b/backend/open_webui/apps/retrieval/utils.py index e4e36fbfd..420ed7bf4 100644 --- a/backend/open_webui/apps/retrieval/utils.py +++ b/backend/open_webui/apps/retrieval/utils.py @@ -483,7 +483,6 @@ def generate_ollama_batch_embeddings( r.raise_for_status() data = r.json() - print(data) if "embeddings" in data: return data["embeddings"] else: From 7b9b0f23fef591cdef7d43d671ab35fb75ca408e Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:12:40 -0800 Subject: [PATCH 33/83] refac --- .../chat/Messages/Markdown/MarkdownInlineTokens.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte b/src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte index afbdd8f0e..8e6500dcc 100644 --- a/src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte +++ b/src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte @@ -36,7 +36,7 @@ {:else if token.type === 'link'} {#if token.tokens} - + {:else} {token.text} @@ -45,11 +45,11 @@ {token.text} {:else if token.type === 'strong'} - + {:else if token.type === 'em'} - + {:else if token.type === 'codespan'} @@ -65,7 +65,7 @@
{:else if token.type === 'del'} - + {:else if token.type === 'inlineKatex'} {#if token.text} From b23600b49db09b0db9f543d0d12863b56abeb3dd Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:15:04 -0800 Subject: [PATCH 34/83] refac --- src/lib/components/common/RichTextInput.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index ebd5950c8..d32eed552 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -117,7 +117,13 @@ }; onMount(() => { - const content = marked.parse(value); + let content = ''; + try { + content = marked.parse(value); + } catch (error) { + console.error('Error parsing markdown content:', error); + } + editor = new Editor({ element: element, extensions: [ From 20f31b5bc8c8d56b2d0e0b6444a720764d734a58 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:20:57 -0800 Subject: [PATCH 35/83] refac --- .../components/common/RichTextInput.svelte | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index d32eed552..39db40c27 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -116,14 +116,25 @@ } }; - onMount(() => { - let content = ''; - try { - content = marked.parse(value); - } catch (error) { - console.error('Error parsing markdown content:', error); + onMount(async () => { + async function tryParse(value, attempts = 3, interval = 100) { + try { + // Try parsing the value + return marked.parse(value); + } catch (error) { + // If no attempts remain, fallback to plain text + if (attempts <= 1) { + return value; + } + // Wait for the interval, then retry + await new Promise((resolve) => setTimeout(resolve, interval)); + return tryParse(value, attempts - 1, interval); // Recursive call + } } + // Usage example + let content = await tryParse(value); + editor = new Editor({ element: element, extensions: [ From 5c49740aa5f09552ccdd1859d643181419c122f0 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:45:49 -0800 Subject: [PATCH 36/83] doc: changelog --- CHANGELOG.md | 17 +++++++++++++++++ src/lib/i18n/locales/ar-BH/translation.json | 2 ++ src/lib/i18n/locales/bg-BG/translation.json | 2 ++ src/lib/i18n/locales/bn-BD/translation.json | 2 ++ src/lib/i18n/locales/ca-ES/translation.json | 2 ++ src/lib/i18n/locales/ceb-PH/translation.json | 2 ++ src/lib/i18n/locales/cs-CZ/translation.json | 2 ++ src/lib/i18n/locales/da-DK/translation.json | 2 ++ src/lib/i18n/locales/de-DE/translation.json | 2 ++ src/lib/i18n/locales/dg-DG/translation.json | 2 ++ src/lib/i18n/locales/en-GB/translation.json | 2 ++ src/lib/i18n/locales/en-US/translation.json | 2 ++ src/lib/i18n/locales/es-ES/translation.json | 2 ++ src/lib/i18n/locales/fa-IR/translation.json | 2 ++ src/lib/i18n/locales/fi-FI/translation.json | 2 ++ src/lib/i18n/locales/fr-CA/translation.json | 2 ++ src/lib/i18n/locales/fr-FR/translation.json | 2 ++ src/lib/i18n/locales/he-IL/translation.json | 2 ++ src/lib/i18n/locales/hi-IN/translation.json | 2 ++ src/lib/i18n/locales/hr-HR/translation.json | 2 ++ src/lib/i18n/locales/hu-HU/translation.json | 2 ++ src/lib/i18n/locales/id-ID/translation.json | 2 ++ src/lib/i18n/locales/ie-GA/translation.json | 2 ++ src/lib/i18n/locales/it-IT/translation.json | 2 ++ src/lib/i18n/locales/ja-JP/translation.json | 2 ++ src/lib/i18n/locales/ka-GE/translation.json | 2 ++ src/lib/i18n/locales/ko-KR/translation.json | 2 ++ src/lib/i18n/locales/lt-LT/translation.json | 2 ++ src/lib/i18n/locales/ms-MY/translation.json | 2 ++ src/lib/i18n/locales/nb-NO/translation.json | 2 ++ src/lib/i18n/locales/nl-NL/translation.json | 2 ++ src/lib/i18n/locales/pa-IN/translation.json | 2 ++ src/lib/i18n/locales/pl-PL/translation.json | 2 ++ src/lib/i18n/locales/pt-BR/translation.json | 2 ++ src/lib/i18n/locales/pt-PT/translation.json | 2 ++ src/lib/i18n/locales/ro-RO/translation.json | 2 ++ src/lib/i18n/locales/ru-RU/translation.json | 2 ++ src/lib/i18n/locales/sr-RS/translation.json | 2 ++ src/lib/i18n/locales/sv-SE/translation.json | 2 ++ src/lib/i18n/locales/th-TH/translation.json | 2 ++ src/lib/i18n/locales/tk-TW/translation.json | 2 ++ src/lib/i18n/locales/tr-TR/translation.json | 2 ++ src/lib/i18n/locales/uk-UA/translation.json | 2 ++ src/lib/i18n/locales/ur-PK/translation.json | 2 ++ src/lib/i18n/locales/vi-VN/translation.json | 2 ++ src/lib/i18n/locales/zh-CN/translation.json | 2 ++ src/lib/i18n/locales/zh-TW/translation.json | 2 ++ src/lib/utils/index.ts | 18 ++++++++---------- 48 files changed, 117 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b6ec226e..927454962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.3] - 2024-11-21 + +### Added + +- **📚 Inline Citations for RAG Results**: Get seamless inline citations for Retrieval-Augmented Generation (RAG) responses using the default RAG prompt. Note: This feature only supports newly uploaded files, improving traceability and providing source clarity. +- **🎨 Better Rich Text Input Support**: Enjoy smoother and more reliable rich text formatting for chats, enhancing communication quality. +- **⚡ Faster Model Retrieval**: Implemented caching optimizations for faster model loading, providing a noticeable speed boost across workflows. Further improvements are on the way! + +### Fixed + +- **🔗 Pipelines Feature Restored**: Resolved a critical issue that previously prevented Pipelines from functioning, ensuring seamless workflows. +- **✏️ Missing Suffix Field in Ollama Form**: Added the missing "suffix" field to the Ollama generate form, enhancing customization options. + +### Changed + +- **🗂️ Renamed "Citations" to "Sources"**: Improved clarity and consistency by renaming the "citations" field to "sources" in messages. + ## [0.4.2] - 2024-11-20 ### Fixed diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index b972fa825..7c13f0bfc 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "أدخل كود اللغة", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "(e.g. {{modelTag}}) أدخل الموديل تاق", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "(e.g. 50) أدخل عدد الخطوات", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "محتوى الملف النموذجي", "Models": "الموديلات", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "المزيد", "Name": "الأسم", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index d9aeee6d1..4103a40e8 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Въведете кодове на езика", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Въведете таг на модел (напр. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Въведете брой стъпки (напр. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Съдържание на модфайл", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Повече", "Name": "Име", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index 098c0fc71..5fdcaa07e 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ল্যাঙ্গুয়েজ কোড লিখুন", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "মডেল ট্যাগ লিখুন (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ধাপের সংখ্যা দিন (যেমন: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "মডেলফাইল কনটেন্ট", "Models": "মডেলসমূহ", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "আরো", "Name": "নাম", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index 2412108d6..afa90f38f 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Introdueix els codis de llenguatge", "Enter Model ID": "Introdueix l'identificador del model", "Enter model tag (e.g. {{modelTag}})": "Introdueix l'etiqueta del model (p. ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Introdueix el nombre de passos (p. ex. 50)", "Enter Sampler (e.g. Euler a)": "Introdueix el mostrejador (p.ex. Euler a)", "Enter Scheduler (e.g. Karras)": "Entra el programador (p.ex. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contingut del Modelfile", "Models": "Models", "Models Access": "", + "Mojeek Search API Key": "", "more": "més", "More": "Més", "Name": "Nom", diff --git a/src/lib/i18n/locales/ceb-PH/translation.json b/src/lib/i18n/locales/ceb-PH/translation.json index e80fddcdf..957003ced 100644 --- a/src/lib/i18n/locales/ceb-PH/translation.json +++ b/src/lib/i18n/locales/ceb-PH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Pagsulod sa template tag (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Pagsulod sa gidaghanon sa mga lakang (e.g. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Mga sulod sa template file", "Models": "Mga modelo", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "Ngalan", diff --git a/src/lib/i18n/locales/cs-CZ/translation.json b/src/lib/i18n/locales/cs-CZ/translation.json index 289e109d9..a85db7253 100644 --- a/src/lib/i18n/locales/cs-CZ/translation.json +++ b/src/lib/i18n/locales/cs-CZ/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Zadejte kódy jazyků", "Enter Model ID": "Zadejte ID modelu", "Enter model tag (e.g. {{modelTag}})": "Zadejte označení modelu (např. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Zadejte počet kroků (např. 50)", "Enter Sampler (e.g. Euler a)": "Zadejte vzorkovač (např. Euler a)", "Enter Scheduler (e.g. Karras)": "Zadejte plánovač (např. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Obsah souboru modelfile", "Models": "Modely", "Models Access": "", + "Mojeek Search API Key": "", "more": "více", "More": "Více", "Name": "Jméno", diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index d988ad914..0b078062e 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Indtast sprogkoder", "Enter Model ID": "Indtast model-ID", "Enter model tag (e.g. {{modelTag}})": "Indtast modelmærke (f.eks. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Indtast antal trin (f.eks. 50)", "Enter Sampler (e.g. Euler a)": "Indtast sampler (f.eks. Euler a)", "Enter Scheduler (e.g. Karras)": "Indtast scheduler (f.eks. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfilindhold", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mere", "Name": "Navn", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index 5a83f396c..ebf9c3e19 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Geben Sie die Sprachcodes ein", "Enter Model ID": "Geben Sie die Modell-ID ein", "Enter model tag (e.g. {{modelTag}})": "Gebn Sie den Model-Tag ein", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Geben Sie die Anzahl an Schritten ein (z. B. 50)", "Enter Sampler (e.g. Euler a)": "Geben Sie den Sampler ein (z. B. Euler a)", "Enter Scheduler (e.g. Karras)": "Geben Sie den Scheduler ein (z. B. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile-Inhalt", "Models": "Modelle", "Models Access": "", + "Mojeek Search API Key": "", "more": "mehr", "More": "Mehr", "Name": "Name", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index 851c82f1f..4213db9bd 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Enter model doge tag (e.g. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Enter Number of Steps (e.g. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile Content", "Models": "Wowdels", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "Name", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index b7051b504..0ae406b4d 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Ingrese códigos de idioma", "Enter Model ID": "Ingresa el ID del modelo", "Enter model tag (e.g. {{modelTag}})": "Ingrese la etiqueta del modelo (p.ej. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Ingrese el número de pasos (p.ej., 50)", "Enter Sampler (e.g. Euler a)": "Ingrese el sampler (p.ej., Euler a)", "Enter Scheduler (e.g. Karras)": "Ingrese el planificador (p.ej., Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenido del Modelfile", "Models": "Modelos", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Más", "Name": "Nombre", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index d45a393ff..f965ce8a3 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "کد زبان را وارد کنید", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "تگ مدل را وارد کنید (مثلا {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "تعداد گام ها را وارد کنید (مثال: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "محتویات فایل مدل", "Models": "مدل\u200cها", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "بیشتر", "Name": "نام", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index 0b899594c..0b8f86d76 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Syötä kielikoodit", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Syötä mallitagi (esim. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Syötä askelien määrä (esim. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Mallitiedoston sisältö", "Models": "Mallit", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lisää", "Name": "Nimi", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index 28e5666c2..4e4411304 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Entrez les codes de langue", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Entrez l'étiquette du modèle (par ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Entrez le nombre de pas (par ex. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenu du Fichier de Modèle", "Models": "Modèles", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Plus de", "Name": "Nom", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index 4a6d99d93..418985ebc 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Entrez les codes de langue", "Enter Model ID": "Entrez l'ID du modèle", "Enter model tag (e.g. {{modelTag}})": "Entrez le tag du modèle (par ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Entrez le nombre d'étapes (par ex. 50)", "Enter Sampler (e.g. Euler a)": "Entrez le sampler (par ex. Euler a)", "Enter Scheduler (e.g. Karras)": "Entrez le planificateur (par ex. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenu du Fichier de Modèle", "Models": "Modèles", "Models Access": "", + "Mojeek Search API Key": "", "more": "plus", "More": "Plus", "Name": "Nom d'utilisateur", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index 22a3311ad..35ebe9370 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "הזן קודי שפה", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "הזן תג מודל (למשל {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "הזן מספר שלבים (למשל 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "תוכן קובץ מודל", "Models": "מודלים", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "עוד", "Name": "שם", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index 178c971b3..b583d43c3 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "भाषा कोड दर्ज करें", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Model tag दर्ज करें (उदा. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "चरणों की संख्या दर्ज करें (उदा. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "मॉडल फ़ाइल सामग्री", "Models": "सभी मॉडल", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "और..", "Name": "नाम", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index 6a0969ce1..877255f39 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Unesite kodove jezika", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Unesite oznaku modela (npr. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Unesite broj koraka (npr. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Sadržaj datoteke modela", "Models": "Modeli", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Više", "Name": "Ime", diff --git a/src/lib/i18n/locales/hu-HU/translation.json b/src/lib/i18n/locales/hu-HU/translation.json index cd82d0278..8fdaf6c51 100644 --- a/src/lib/i18n/locales/hu-HU/translation.json +++ b/src/lib/i18n/locales/hu-HU/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Add meg a nyelvi kódokat", "Enter Model ID": "Add meg a modell azonosítót", "Enter model tag (e.g. {{modelTag}})": "Add meg a modell címkét (pl. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Add meg a lépések számát (pl. 50)", "Enter Sampler (e.g. Euler a)": "Add meg a mintavételezőt (pl. Euler a)", "Enter Scheduler (e.g. Karras)": "Add meg az ütemezőt (pl. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modellfájl tartalom", "Models": "Modellek", "Models Access": "", + "Mojeek Search API Key": "", "more": "több", "More": "Több", "Name": "Név", diff --git a/src/lib/i18n/locales/id-ID/translation.json b/src/lib/i18n/locales/id-ID/translation.json index 5c78031a4..9aadc832a 100644 --- a/src/lib/i18n/locales/id-ID/translation.json +++ b/src/lib/i18n/locales/id-ID/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Masukkan kode bahasa", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Masukkan tag model (misalnya {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Masukkan Jumlah Langkah (mis. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Konten File Model", "Models": "Model", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lainnya", "Name": "Nama", diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index fdc4cc437..6fc712a7c 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Cuir isteach cóid teanga", "Enter Model ID": "Iontráil ID Mhúnla", "Enter model tag (e.g. {{modelTag}})": "Cuir isteach chlib samhail (m.sh. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Iontráil Líon na gCéimeanna (m.sh. 50)", "Enter Sampler (e.g. Euler a)": "Cuir isteach Sampler (m.sh. Euler a)", "Enter Scheduler (e.g. Karras)": "Cuir isteach Sceidealóir (m.sh. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Ábhar Modelfile", "Models": "Múnlaí", "Models Access": "Rochtain Múnlaí", + "Mojeek Search API Key": "", "more": "níos mó", "More": "Tuilleadh", "Name": "Ainm", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index ea5d497c0..73a246c57 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Inserisci i codici lingua", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Inserisci il tag del modello (ad esempio {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Inserisci il numero di passaggi (ad esempio 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Contenuto del file modello", "Models": "Modelli", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Altro", "Name": "Nome", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 2b88a3157..944ecf6cc 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "言語コードを入力してください", "Enter Model ID": "モデルIDを入力してください。", "Enter model tag (e.g. {{modelTag}})": "モデルタグを入力してください (例: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ステップ数を入力してください (例: 50)", "Enter Sampler (e.g. Euler a)": "サンプラーを入力してください(e.g. Euler a)。", "Enter Scheduler (e.g. Karras)": "スケジューラーを入力してください。(e.g. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "モデルファイルの内容", "Models": "モデル", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "もっと見る", "Name": "名前", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 62b3d2dec..4ab700ddb 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "შეიყვანეთ ენის კოდი", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "შეიყვანეთ მოდელის ტეგი (მაგ. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "შეიყვანეთ ნაბიჯების რაოდენობა (მაგ. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "მოდელური ფაილის კონტენტი", "Models": "მოდელები", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "ვრცლად", "Name": "სახელი", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index 34e41b10a..d4b4ff7f9 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "언어 코드 입력", "Enter Model ID": "모델 ID 입력", "Enter model tag (e.g. {{modelTag}})": "모델 태그 입력(예: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "단계 수 입력(예: 50)", "Enter Sampler (e.g. Euler a)": "샘플러 입력 (예: 오일러 a(Euler a))", "Enter Scheduler (e.g. Karras)": "스케쥴러 입력 (예: 카라스(Karras))", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile 내용", "Models": "모델", "Models Access": "", + "Mojeek Search API Key": "", "more": "더보기", "More": "더보기", "Name": "이름", diff --git a/src/lib/i18n/locales/lt-LT/translation.json b/src/lib/i18n/locales/lt-LT/translation.json index 123dacbcb..7503df48a 100644 --- a/src/lib/i18n/locales/lt-LT/translation.json +++ b/src/lib/i18n/locales/lt-LT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Įveskite kalbos kodus", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Įveskite modelio žymą (pvz. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Įveskite žingsnių kiekį (pvz. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelio failo turinys", "Models": "Modeliai", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Daugiau", "Name": "Pavadinimas", diff --git a/src/lib/i18n/locales/ms-MY/translation.json b/src/lib/i18n/locales/ms-MY/translation.json index 1b3a19f85..bf1b49254 100644 --- a/src/lib/i18n/locales/ms-MY/translation.json +++ b/src/lib/i18n/locales/ms-MY/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Masukkan kod bahasa", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Masukkan tag model (cth {{ modelTag }})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Masukkan Bilangan Langkah (cth 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Kandungan Modelfail", "Models": "Model", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Lagi", "Name": "Nama", diff --git a/src/lib/i18n/locales/nb-NO/translation.json b/src/lib/i18n/locales/nb-NO/translation.json index 0f980c384..9271f4dd4 100644 --- a/src/lib/i18n/locales/nb-NO/translation.json +++ b/src/lib/i18n/locales/nb-NO/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Angi språkkoder", "Enter Model ID": "Angi modellens ID", "Enter model tag (e.g. {{modelTag}})": "Angi modellens etikett (f.eks. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Angi antall steg (f.eks. 50)", "Enter Sampler (e.g. Euler a)": "Angi Sampler (e.g. Euler a)", "Enter Scheduler (e.g. Karras)": "Angi Scheduler (f.eks. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modellfilinnhold", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "mer", "More": "Mer", "Name": "Navn", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 301d7ebdf..1d5dc32b9 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Voeg taal codes toe", "Enter Model ID": "Voer model-ID in", "Enter model tag (e.g. {{modelTag}})": "Voeg model tag toe (Bijv. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Voeg aantal stappen toe (Bijv. 50)", "Enter Sampler (e.g. Euler a)": "Voer Sampler in (bv. Euler a)", "Enter Scheduler (e.g. Karras)": "Voer Scheduler in (bv. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfile Inhoud", "Models": "Modellen", "Models Access": "Modellentoegang", + "Mojeek Search API Key": "", "more": "Meer", "More": "Meer", "Name": "Naam", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index 2e43beba3..93ecac0b2 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ਭਾਸ਼ਾ ਕੋਡ ਦਰਜ ਕਰੋ", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "ਮਾਡਲ ਟੈਗ ਦਰਜ ਕਰੋ (ਉਦਾਹਰਣ ਲਈ {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ ਦਰਜ ਕਰੋ (ਉਦਾਹਰਣ ਲਈ 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "ਮਾਡਲਫਾਈਲ ਸਮੱਗਰੀ", "Models": "ਮਾਡਲ", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "ਹੋਰ", "Name": "ਨਾਮ", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index 617626fe2..5f6519629 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Wprowadź kody języków", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Wprowadź tag modelu (np. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Wprowadź liczbę kroków (np. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Zawartość pliku modelu", "Models": "Modele", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Więcej", "Name": "Nazwa", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index b9a4826a5..d8dd7b48b 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Digite os códigos de idioma", "Enter Model ID": "Digite o ID do modelo", "Enter model tag (e.g. {{modelTag}})": "Digite a tag do modelo (por exemplo, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Digite o Número de Passos (por exemplo, 50)", "Enter Sampler (e.g. Euler a)": "Digite o Sampler (por exemplo, Euler a)", "Enter Scheduler (e.g. Karras)": "Digite o Agendador (por exemplo, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Conteúdo do Arquivo do Modelo", "Models": "Modelos", "Models Access": "Acesso aos Modelos", + "Mojeek Search API Key": "", "more": "mais", "More": "Mais", "Name": "Nome", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 0f5626c55..025b458d0 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Escreva os códigos de idioma", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Escreva a tag do modelo (por exemplo, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Escreva o Número de Etapas (por exemplo, 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Conteúdo do Ficheiro do Modelo", "Models": "Modelos", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mais", "Name": "Nome", diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index 4657f8c73..0fe4d2a86 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Introduceți codurile limbilor", "Enter Model ID": "Introdu codul modelului", "Enter model tag (e.g. {{modelTag}})": "Introduceți eticheta modelului (de ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Introduceți Numărul de Pași (de ex. 50)", "Enter Sampler (e.g. Euler a)": "Introduce Sampler (de exemplu, Euler a)", "Enter Scheduler (e.g. Karras)": "Introduceți Programatorul (de exemplu, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Conținutul Fișierului Model", "Models": "Modele", "Models Access": "", + "Mojeek Search API Key": "", "more": "mai mult", "More": "Mai multe", "Name": "Nume", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index f9c898452..39c9e3399 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Введите коды языков", "Enter Model ID": "Введите ID модели", "Enter model tag (e.g. {{modelTag}})": "Введите тег модели (например, {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Введите количество шагов (например, 50)", "Enter Sampler (e.g. Euler a)": "Введите сэмплер (например, Euler a)", "Enter Scheduler (e.g. Karras)": "Введите планировщик (например, Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Содержимое файла модели", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Больше", "Name": "Имя", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index 91627f729..3f4a6f0d4 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Унесите кодове језика", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Унесите ознаку модела (нпр. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Унесите број корака (нпр. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Садржај модел-датотеке", "Models": "Модели", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Више", "Name": "Име", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index 048850b84..cf9ce4895 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Skriv språkkoder", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Ange modelltagg (t.ex. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Ange antal steg (t.ex. 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Modelfilens innehåll", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Mer", "Name": "Namn", diff --git a/src/lib/i18n/locales/th-TH/translation.json b/src/lib/i18n/locales/th-TH/translation.json index e652f513d..6982ab4de 100644 --- a/src/lib/i18n/locales/th-TH/translation.json +++ b/src/lib/i18n/locales/th-TH/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "ใส่รหัสภาษา", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "ใส่แท็กโมเดล (เช่น {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "ใส่จำนวนขั้นตอน (เช่น 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "เนื้อหาของไฟล์โมเดล", "Models": "โมเดล", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "เพิ่มเติม", "Name": "ชื่อ", diff --git a/src/lib/i18n/locales/tk-TW/translation.json b/src/lib/i18n/locales/tk-TW/translation.json index fab637d2d..892461173 100644 --- a/src/lib/i18n/locales/tk-TW/translation.json +++ b/src/lib/i18n/locales/tk-TW/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "", "Models": "", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "", "Name": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index 9d8ba6f97..bb2fc3d8d 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Dil kodlarını girin", "Enter Model ID": "Model ID'sini Girin", "Enter model tag (e.g. {{modelTag}})": "Model etiketini girin (örn. {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Adım Sayısını Girin (örn. 50)", "Enter Sampler (e.g. Euler a)": "Örnekleyiciyi Girin (örn. Euler a)", "Enter Scheduler (e.g. Karras)": "Zamanlayıcıyı Girin (örn. Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Model Dosyası İçeriği", "Models": "Modeller", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Daha Fazla", "Name": "Ad", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 9261747bb..6f84ac37f 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Введіть мовні коди", "Enter Model ID": "Введіть ID моделі", "Enter model tag (e.g. {{modelTag}})": "Введіть тег моделі (напр., {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Введіть кількість кроків (напр., 50)", "Enter Sampler (e.g. Euler a)": "Введіть семплер (напр., Euler a)", "Enter Scheduler (e.g. Karras)": "Введіть планувальник (напр., Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "Вміст файлу моделі", "Models": "Моделі", "Models Access": "", + "Mojeek Search API Key": "", "more": "більше", "More": "Більше", "Name": "Ім'я", diff --git a/src/lib/i18n/locales/ur-PK/translation.json b/src/lib/i18n/locales/ur-PK/translation.json index 1165c0bfe..0639d8df8 100644 --- a/src/lib/i18n/locales/ur-PK/translation.json +++ b/src/lib/i18n/locales/ur-PK/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "زبان کے کوڈ درج کریں", "Enter Model ID": "ماڈل آئی ڈی درج کریں", "Enter model tag (e.g. {{modelTag}})": "ماڈل ٹیگ داخل کریں (مثال کے طور پر {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "درج کریں مراحل کی تعداد (جیسے 50)", "Enter Sampler (e.g. Euler a)": "نمونہ درج کریں (مثال: آئلر a)", "Enter Scheduler (e.g. Karras)": "شیڈیولر درج کریں (مثلاً Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "ماڈل فائل مواد", "Models": "ماڈلز", "Models Access": "", + "Mojeek Search API Key": "", "more": "مزید", "More": "مزید", "Name": "نام", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index b3128fde8..bd9c9b2c0 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "Nhập mã ngôn ngữ", "Enter Model ID": "", "Enter model tag (e.g. {{modelTag}})": "Nhập thẻ mô hình (vd: {{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "Nhập số Steps (vd: 50)", "Enter Sampler (e.g. Euler a)": "", "Enter Scheduler (e.g. Karras)": "", @@ -569,6 +570,7 @@ "Modelfile Content": "Nội dung Tệp Mô hình", "Models": "Mô hình", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "Thêm", "Name": "Tên", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 2bcad8e3e..a09b5b3e1 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "输入语言代码", "Enter Model ID": "输入模型 ID", "Enter model tag (e.g. {{modelTag}})": "输入模型标签 (例如:{{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "输入步骤数 (Steps) (例如:50)", "Enter Sampler (e.g. Euler a)": "输入 Sampler (例如:Euler a)", "Enter Scheduler (e.g. Karras)": "输入 Scheduler (例如:Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "模型文件内容", "Models": "模型", "Models Access": "访问模型列表", + "Mojeek Search API Key": "", "more": "更多", "More": "更多", "Name": "名称", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 625986646..2114c31e0 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -329,6 +329,7 @@ "Enter language codes": "輸入語言代碼", "Enter Model ID": "輸入模型 ID", "Enter model tag (e.g. {{modelTag}})": "輸入模型標籤(例如:{{modelTag}})", + "Enter Mojeek Search API Key": "", "Enter Number of Steps (e.g. 50)": "輸入步驟數(例如:50)", "Enter Sampler (e.g. Euler a)": "輸入取樣器(例如:Euler a)", "Enter Scheduler (e.g. Karras)": "輸入排程器(例如:Karras)", @@ -569,6 +570,7 @@ "Modelfile Content": "模型檔案內容", "Models": "模型", "Models Access": "", + "Mojeek Search API Key": "", "more": "", "More": "更多", "Name": "名稱", diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index a5716fa36..e3f5b0b35 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -14,7 +14,6 @@ export const replaceTokens = (content, sourceIds, char, user) => { const videoIdToken = /{{VIDEO_FILE_ID_([a-f0-9-]+)}}/gi; // Regex to capture the video ID const htmlIdToken = /{{HTML_FILE_ID_([a-f0-9-]+)}}/gi; // Regex to capture the HTML ID - // Replace {{char}} if char is provided if (char !== undefined && char !== null) { content = content.replace(charToken, char); @@ -37,17 +36,16 @@ export const replaceTokens = (content, sourceIds, char, user) => { return ``; }); - // Remove sourceIds from the content and replace them with ... - if (Array.isArray(sourceIds)) { - sourceIds.forEach((sourceId) => { - // Create a token based on the exact `[sourceId]` string - const sourceToken = `\\[${sourceId}\\]`; // Escape special characters for RegExp - const sourceRegex = new RegExp(sourceToken, 'g'); // Match all occurrences of [sourceId] + if (Array.isArray(sourceIds)) { + sourceIds.forEach((sourceId) => { + // Create a token based on the exact `[sourceId]` string + const sourceToken = `\\[${sourceId}\\]`; // Escape special characters for RegExp + const sourceRegex = new RegExp(sourceToken, 'g'); // Match all occurrences of [sourceId] - content = content.replace(sourceRegex, ``); - }); - } + content = content.replace(sourceRegex, ``); + }); + } return content; }; From 9aac02824d1fc15a6b850e6162b71119b1974a81 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Nov 2024 22:47:29 -0800 Subject: [PATCH 37/83] chore: version bump --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4a0f1bb18..d6bd4df7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.4.2", + "version": "0.4.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.4.2", + "version": "0.4.3", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index ea934d4e7..cf5583250 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.4.2", + "version": "0.4.3", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", From e12cf77553c4d76cfa0a91205c0822ccaed0cd79 Mon Sep 17 00:00:00 2001 From: Hildeberto Date: Fri, 22 Nov 2024 09:35:25 -0300 Subject: [PATCH 38/83] Update pt-BR translation.json --- src/lib/i18n/locales/pt-BR/translation.json | 232 ++++++++++---------- 1 file changed, 116 insertions(+), 116 deletions(-) diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index d8dd7b48b..54c98eab4 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -18,7 +18,7 @@ "Account Activation Pending": "Ativação da Conta Pendente", "Accurate information": "Informação precisa", "Actions": "Ações", - "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "", + "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "Ativar esse comando no chat digitando \"/{{COMMAND}}\"", "Active Users": "Usuários Ativos", "Add": "Adicionar", "Add a model ID": "Adicione um ID de modelo", @@ -43,26 +43,26 @@ "Admin": "Admin", "Admin Panel": "Painel do Admin", "Admin Settings": "Configurações do Admin", - "Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "Os admins têm acesso a todas as ferramentas o tempo todo; os usuários precisam de ferramentas atribuídas por modelo no workspace.", + "Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "Os admins têm acesso a todas as ferramentas o tempo todo; os usuários precisam de ferramentas atribuídas, por modelo, no workspace.", "Advanced Parameters": "Parâmetros Avançados", "Advanced Params": "Parâmetros Avançados", "All chats": "Todos os chats", "All Documents": "Todos os Documentos", - "All models deleted successfully": "", - "Allow Chat Delete": "Permitir exclusão de Chats", + "All models deleted successfully": "Todos os modelos foram excluídos com sucesso", + "Allow Chat Delete": "Permitir Exclusão de Chats", "Allow Chat Deletion": "Permitir Exclusão de Chats", - "Allow Chat Edit": "Permitir edição de Chats", - "Allow File Upload": "Permitir envio de arquivos", + "Allow Chat Edit": "Permitir Edição de Chats", + "Allow File Upload": "Permitir Envio de arquivos", "Allow non-local voices": "Permitir vozes não locais", "Allow Temporary Chat": "Permitir Conversa Temporária", "Allow User Location": "Permitir Localização do Usuário", "Allow Voice Interruption in Call": "Permitir Interrupção de Voz na Chamada", "Already have an account?": "Já tem uma conta?", - "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "", - "Amazing": "", + "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "Alternativa ao 'top_p', e visa garantir um equilíbrio entre qualidade e variedade. O parâmetro 'p' representa a probabilidade mínima para que um token seja considerado, em relação à probabilidade do token mais provável. Por exemplo, com 'p=0.05' e o token mais provável com probabilidade de '0.9', as predições com valor inferior a '0.045' são filtrados. (Default: 0.0)", + "Amazing": "Incrível", "an assistant": "um assistente", "and": "e", - "and {{COUNT}} more": "e {{COUNT}} mais", + "and {{COUNT}} more": "e mais {{COUNT}}", "and create a new shared link.": "e criar um novo link compartilhado.", "API Base URL": "URL Base da API", "API Key": "Chave API", @@ -76,9 +76,9 @@ "Archive All Chats": "Arquivar Todos os Chats", "Archived Chats": "Chats Arquivados", "archived-chat-export": "", - "Are you sure you want to unarchive all archived chats?": "Você tem certeza que deseja arquivar todos os chats?", + "Are you sure you want to unarchive all archived chats?": "Você tem certeza que deseja desarquivar todos os chats arquivados?", "Are you sure?": "Você tem certeza?", - "Arena Models": "Modelos Arena", + "Arena Models": "Arena de Modelos", "Artifacts": "Artefatos", "Ask a question": "Faça uma pergunta", "Assistant": "Assistente", @@ -96,13 +96,13 @@ "AUTOMATIC1111 Base URL is required.": "URL Base AUTOMATIC1111 é necessária.", "Available list": "Lista disponível", "available!": "disponível!", - "Awful": "", + "Awful": "Horrível", "Azure AI Speech": "", "Azure Region": "", "Back": "Voltar", "Bad Response": "Resposta Ruim", "Banners": "Banners", - "Base Model (From)": "Modelo Base (From)", + "Base Model (From)": "Modelo Base (De)", "Batch Size (num_batch)": "Tamanho do Lote (num_batch)", "before": "antes", "Being lazy": "Sendo preguiçoso", @@ -116,10 +116,10 @@ "Camera": "Câmera", "Cancel": "Cancelar", "Capabilities": "Capacidades", - "Certificate Path": "", + "Certificate Path": "Caminho do Certificado", "Change Password": "Mudar Senha", "Character": "Caracter", - "Chart new frontiers": "", + "Chart new frontiers": "Trace novas fronteiras", "Chat": "Chat", "Chat Background Image": "Imagem de Fundo do Chat", "Chat Bubble UI": "Interface de Bolha de Chat", @@ -147,7 +147,7 @@ "Click here to learn more about faster-whisper and see the available models.": "Clique aqui para aprender mais sobre Whisper e ver os modelos disponíveis.", "Click here to select": "Clique aqui para enviar", "Click here to select a csv file.": "Clique aqui para enviar um arquivo csv.", - "Click here to select a py file.": "Clique aqui para enviar um arquivo py.", + "Click here to select a py file.": "Clique aqui para enviar um arquivo python.", "Click here to upload a workflow.json file.": "Clique aqui para enviar um arquivo workflow.json.", "click here.": "clique aqui.", "Click on the user role button to change a user's role.": "Clique no botão de função do usuário para alterar a função de um usuário.", @@ -174,7 +174,7 @@ "Contact Admin for WebUI Access": "Contate o Admin para Acesso ao WebUI", "Content": "Conteúdo", "Content Extraction": "Extração de Conteúdo", - "Context Length": "Context Length", + "Context Length": "Tamanho de Contexto", "Continue Response": "Continuar Resposta", "Continue with {{provider}}": "Continuar com {{provider}}", "Continue with Email": "Continuar com Email", @@ -196,8 +196,8 @@ "Create a model": "Criar um modelo", "Create Account": "Criar Conta", "Create Admin Account": "Criar Conta de Admin", - "Create Group": "Criar grupo", - "Create Knowledge": "Criar conhecimento", + "Create Group": "Criar Grupo", + "Create Knowledge": "Criar Conhecimento", "Create new key": "Criar nova chave", "Create new secret key": "Criar nova chave secreta", "Created at": "Criado em", @@ -216,27 +216,27 @@ "Default Model": "Modelo Padrão", "Default model updated": "Modelo padrão atualizado", "Default permissions": "Permissões padrão", - "Default permissions updated successfully": "", + "Default permissions updated successfully": "Permissões padrão atualizadas com sucesso", "Default Prompt Suggestions": "Sugestões de Prompt Padrão", "Default to 389 or 636 if TLS is enabled": "", - "Default to ALL": "Padrão para todos", + "Default to ALL": "Padrão para TODOS", "Default User Role": "Padrão para novos usuários", - "Delete": "Deletar", - "Delete a model": "Deletar um modelo", - "Delete All Chats": "Deletar Todos os Chats", - "Delete All Models": "", - "Delete chat": "Deletar chat", - "Delete Chat": "Deletar Chat", - "Delete chat?": "Deletar chat?", - "Delete folder?": "Deletar pasta?", - "Delete function?": "Deletar função?", - "Delete prompt?": "Deletar prompt?", - "delete this link": "deletar este link", - "Delete tool?": "Deletar ferramenta?", - "Delete User": "Deletar Usuário", - "Deleted {{deleteModelTag}}": "Deletado {{deleteModelTag}}", - "Deleted {{name}}": "Deletado {{name}}", - "Deleted User": "", + "Delete": "Excluir", + "Delete a model": "Excluir um modelo", + "Delete All Chats": "Excluir Todos os Chats", + "Delete All Models": "Excluir Todos os Modelos", + "Delete chat": "Excluir chat", + "Delete Chat": "Excluir Chat", + "Delete chat?": "Excluir chat?", + "Delete folder?": "Excluir pasta?", + "Delete function?": "Excluir função?", + "Delete prompt?": "Excluir prompt?", + "delete this link": "Excluir este link", + "Delete tool?": "Excluir ferramenta?", + "Delete User": "Excluir Usuário", + "Deleted {{deleteModelTag}}": "Excluído {{deleteModelTag}}", + "Deleted {{name}}": "Excluído {{name}}", + "Deleted User": "Usuário Excluído", "Describe your knowledge base and objectives": "Descreva sua base de conhecimento e objetivos", "Description": "Descrição", "Didn't fully follow instructions": "Não seguiu completamente as instruções", @@ -254,7 +254,7 @@ "Display": "Exibir", "Display Emoji in Call": "Exibir Emoji na Chamada", "Display the username instead of You in the Chat": "Exibir o nome de usuário em vez de Você no Chat", - "Displays citations in the response": "", + "Displays citations in the response": "Exibir citações na resposta", "Dive into knowledge": "Explorar base de conhecimento", "Do not install functions from sources you do not fully trust.": "Não instale funções de fontes que você não confia totalmente.", "Do not install tools from sources you do not fully trust.": "Não instale ferramentas de fontes que você não confia totalmente.", @@ -270,23 +270,23 @@ "Download": "Baixar", "Download canceled": "Download cancelado", "Download Database": "Baixar Banco de Dados", - "Drag and drop a file to upload or select a file to view": "", + "Drag and drop a file to upload or select a file to view": "Arraste e solte um arquivo para enviar ou selecione um arquivo para visualizar", "Draw": "Empate", "Drop any files here to add to the conversation": "Solte qualquer arquivo aqui para adicionar à conversa", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "por exemplo, '30s', '10m'. Unidades de tempo válidas são 's', 'm', 'h'.", - "e.g. A filter to remove profanity from text": "Exemplo: Um filtro para remover o homofobia de texto", - "e.g. My Filter": "Exemplo: Um filtro", - "e.g. My Tools": "Exemplo: Minhas ferramentas", + "e.g. A filter to remove profanity from text": "Exemplo: Um filtro para remover palavrões do texto", + "e.g. My Filter": "Exemplo: Meu Filtro", + "e.g. My Tools": "Exemplo: Minhas Ferramentas", "e.g. my_filter": "Exemplo: my_filter", "e.g. my_tools": "Exemplo: my_tools", "e.g. Tools for performing various operations": "Exemplo: Ferramentas para executar operações diversas", "Edit": "Editar", - "Edit Arena Model": "Editar Modelo Arena", - "Edit Connection": "Editar conexão", - "Edit Default Permissions": "Editar permissões padrão", + "Edit Arena Model": "Editar Arena de Modelos", + "Edit Connection": "Editar Conexão", + "Edit Default Permissions": "Editar Permissões Padrão", "Edit Memory": "Editar Memória", "Edit User": "Editar Usuário", - "Edit User Group": "Editar grupo de usuários", + "Edit User Group": "Editar Grupo de Usuários", "ElevenLabs": "", "Email": "Email", "Embark on adventures": "Embarque em aventuras", @@ -294,15 +294,15 @@ "Embedding Model": "Modelo de Embedding", "Embedding Model Engine": "Motor do Modelo de Embedding", "Embedding model set to \"{{embedding_model}}\"": "Modelo de embedding definido para \"{{embedding_model}}\"", - "Enable API Key Auth": "", + "Enable API Key Auth": "Ativar Autenticação por API Key", "Enable Community Sharing": "Ativar Compartilhamento com a Comunidade", "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "Habilite o bloqueio de memória (mlock) para evitar que os dados do modelo sejam transferidos da RAM para a área de troca (swap). Essa opção bloqueia o conjunto de páginas em uso pelo modelo na RAM, garantindo que elas não sejam transferidas para o disco. Isso pode ajudar a manter o desempenho, evitando falhas de página e garantindo acesso rápido aos dados.", "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "Habilite o mapeamento de memória (mmap) para carregar dados do modelo. Esta opção permite que o sistema use o armazenamento em disco como uma extensão da RAM, tratando os arquivos do disco como se estivessem na RAM. Isso pode melhorar o desempenho do modelo, permitindo acesso mais rápido aos dados. No entanto, pode não funcionar corretamente com todos os sistemas e consumir uma quantidade significativa de espaço em disco.", - "Enable Message Rating": "Habilitar Avaliação de Mensagens", + "Enable Message Rating": "Ativar Avaliação de Mensagens", "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "Habilite a amostragem Mirostat para controlar a perplexidade. (Padrão: 0, 0 = Desativado, 1 = Mirostat, 2 = Mirostat 2.0)", "Enable New Sign Ups": "Ativar Novos Cadastros", - "Enable Retrieval Query Generation": "", - "Enable Tags Generation": "Habilitar geração de Tags", + "Enable Retrieval Query Generation": "Ativar Geração Baseada em Busca", + "Enable Tags Generation": "Habilitar Geração de Tags", "Enable Web Search": "Ativar Pesquisa na Web", "Enable Web Search Query Generation": "Habilitar Geração de Consultas na Web", "Enabled": "Ativado", @@ -329,7 +329,7 @@ "Enter language codes": "Digite os códigos de idioma", "Enter Model ID": "Digite o ID do modelo", "Enter model tag (e.g. {{modelTag}})": "Digite a tag do modelo (por exemplo, {{modelTag}})", - "Enter Mojeek Search API Key": "", + "Enter Mojeek Search API Key": "Digite a Chave API do Mojeek Search", "Enter Number of Steps (e.g. 50)": "Digite o Número de Passos (por exemplo, 50)", "Enter Sampler (e.g. Euler a)": "Digite o Sampler (por exemplo, Euler a)", "Enter Scheduler (e.g. Karras)": "Digite o Agendador (por exemplo, Karras)", @@ -359,11 +359,11 @@ "Enter Your Username": "Digite seu usuário", "Error": "Erro", "ERROR": "", - "Evaluations": "Evoluções", - "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "Examplo: (&(objectClass=inetOrgPerson)(uid=%s))", - "Example: ALL": "Examplo: ALL", - "Example: ou=users,dc=foo,dc=example": "Examplo: ou=users,dc=foo,dc=example", - "Example: sAMAccountName or uid or userPrincipalName": "Examplo: sAMAccountName or uid or userPrincipalName", + "Evaluations": "Avaliações", + "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "Exemplo: (&(objectClass=inetOrgPerson)(uid=%s))", + "Example: ALL": "Exemplo: ALL", + "Example: ou=users,dc=foo,dc=example": "Exemplo: ou=users,dc=foo,dc=example", + "Example: sAMAccountName or uid or userPrincipalName": "Exemplo: sAMAccountName ou uid ou userPrincipalName", "Exclude": "Excluir", "Experimental": "Experimental", "Explore the cosmos": "Explorar o cosmos", @@ -387,7 +387,7 @@ "Failed to upload file.": "Falha ao carregar o arquivo.", "February": "Fevereiro", "Feedback History": "Histórico de comentários", - "Feedbacks": "", + "Feedbacks": "Comentários", "Feel free to add specific details": "Sinta-se à vontade para adicionar detalhes específicos", "File": "Arquivo", "File added successfully.": "Arquivo adicionado com sucesso.", @@ -403,23 +403,23 @@ "Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Falsificação de impressão digital detectada: Não foi possível usar as iniciais como avatar. Usando a imagem de perfil padrão.", "Fluidly stream large external response chunks": "Transmitir fluentemente grandes blocos de respostas externas", "Focus chat input": "Focar entrada de chat", - "Folder deleted successfully": "Pasta deletada com sucesso", - "Folder name cannot be empty": "Nome da pasta não pode estar vazia", - "Folder name cannot be empty.": "Nome da pasta não pode estar vazia.", + "Folder deleted successfully": "Pasta excluída com sucesso", + "Folder name cannot be empty": "Nome da pasta não pode estar vazio", + "Folder name cannot be empty.": "Nome da pasta não pode estar vazio.", "Folder name updated successfully": "Nome da pasta atualizado com sucesso", "Followed instructions perfectly": "Seguiu as instruções perfeitamente", "Forge new paths": "Trilhar novos caminhos", "Form": "Formulário", "Format your variables using brackets like this:": "Formate suas variáveis usando colchetes como este:", - "Frequency Penalty": "Frequency Penalty", + "Frequency Penalty": "Penalização por Frequência", "Function": "Função", "Function created successfully": "Função criada com sucesso", - "Function deleted successfully": "Função deletada com sucesso", - "Function Description": "Descrição da função", + "Function deleted successfully": "Função excluída com sucesso", + "Function Description": "Descrição da Função", "Function ID": "ID da Função", "Function is now globally disabled": "A função está agora desativada globalmente", "Function is now globally enabled": "A função está agora ativada globalmente", - "Function Name": "Nome da função", + "Function Name": "Nome da Função", "Function updated successfully": "Função atualizada com sucesso", "Functions": "Funções", "Functions allow arbitrary code execution": "Funções permitem a execução arbitrária de código", @@ -437,9 +437,9 @@ "Google PSE API Key": "Chave API do Google PSE", "Google PSE Engine Id": "ID do Motor do Google PSE", "Group created successfully": "Grupo criado com sucesso", - "Group deleted successfully": "Grupo deletado com sucesso", - "Group Description": "Descrição do grupo", - "Group Name": "Nome do grupo", + "Group deleted successfully": "Grupo excluído com sucesso", + "Group Description": "Descrição do Grupo", + "Group Name": "Nome do Grupo", "Group updated successfully": "Grupo atualizado com sucesso", "Groups": "Grupos", "h:mm a": "h:mm a", @@ -447,13 +447,13 @@ "has no conversations.": "não tem conversas.", "Hello, {{name}}": "Olá, {{name}}", "Help": "Ajuda", - "Help us create the best community leaderboard by sharing your feedback history!": "Ajude-nos a criar o melhor ranking da comunidade compartilhando sua historial de comentaários!", + "Help us create the best community leaderboard by sharing your feedback history!": "Ajude-nos a criar o melhor ranking da comunidade compartilhando sua historia de comentários!", "Hex Color": "Cor hexadecimal", "Hex Color - Leave empty for default color": "Cor Hexadecimal - Deixe em branco para a cor padrão", "Hide": "Ocultar", "Host": "Servidor", "How can I help you today?": "Como posso ajudar você hoje?", - "How would you rate this response?": "", + "How would you rate this response?": "Como você avalia essa resposta?", "Hybrid Search": "Pesquisa Híbrida", "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Eu reconheço que li e entendi as implicações da minha ação. Estou ciente dos riscos associados à execução de código arbitrário e verifiquei a confiabilidade da fonte.", "ID": "", @@ -498,7 +498,7 @@ "Knowledge deleted successfully.": "Conhecimento excluído com sucesso.", "Knowledge reset successfully.": "Conhecimento resetado com sucesso.", "Knowledge updated successfully": "Conhecimento atualizado com sucesso", - "Label": "", + "Label": "Rótulo", "Landing Page Mode": "Modo Landing Page", "Language": "Idioma", "Last Active": "Última Atividade", @@ -516,13 +516,13 @@ "LLMs can make mistakes. Verify important information.": "LLMs podem cometer erros. Verifique informações importantes.", "Local": "", "Local Models": "Modelos Locais", - "Lost": "Negativo", - "LTR": "LTR", + "Lost": "Perdeu", + "LTR": "Esquerda para Direita", "Made by OpenWebUI Community": "Feito pela Comunidade OpenWebUI", "Make sure to enclose them with": "Certifique-se de encerrá-los com", "Make sure to export a workflow.json file as API format from ComfyUI.": "Certifique-se de exportar um arquivo workflow.json como o formato API do ComfyUI.", "Manage": "Gerenciar", - "Manage Arena Models": "Gerenciar Modelos Arena", + "Manage Arena Models": "Gerenciar Arena de Modelos", "Manage Ollama": "Gerenciar Ollama", "Manage Ollama API Connections": "Gerenciar Conexões Ollama API", "Manage OpenAI API Connections": "Gerenciar Conexões OpenAI API", @@ -565,12 +565,12 @@ "Model Name": "Nome do Modelo", "Model not selected": "Modelo não selecionado", "Model Params": "Parâmetros do Modelo", - "Model Permissions": "Permissões do modelo", + "Model Permissions": "Permissões do Modelo", "Model updated successfully": "Modelo atualizado com sucesso", "Modelfile Content": "Conteúdo do Arquivo do Modelo", "Models": "Modelos", "Models Access": "Acesso aos Modelos", - "Mojeek Search API Key": "", + "Mojeek Search API Key": "Chave de API Mojeel Search", "more": "mais", "More": "Mais", "Name": "Nome", @@ -584,9 +584,9 @@ "No feedbacks found": "Comentários não encontrados", "No file selected": "Nenhum arquivo selecionado", "No files found.": "Nenhum arquivo encontrado.", - "No groups with access, add a group to grant access": "", + "No groups with access, add a group to grant access": "Nenhum grupo com acesso, adicione um grupo para dar acesso", "No HTML, CSS, or JavaScript content found.": "Nenhum conteúdo HTML, CSS ou JavaScript encontrado.", - "No knowledge found": "nenhum conhecimento encontrado", + "No knowledge found": "Nenhum conhecimento encontrado", "No model IDs": "Nenhum ID de modelo", "No models found": "Nenhum modelo encontrado", "No results found": "Nenhum resultado encontrado", @@ -601,8 +601,8 @@ "Notes": "Notas", "Notifications": "Notificações", "November": "Novembro", - "num_gpu (Ollama)": "", - "num_thread (Ollama)": "num_thread (Ollama)", + "num_gpu (Ollama)": "Número de GPUs (Ollama)", + "num_thread (Ollama)": "Número de Threads (Ollama)", "OAuth ID": "OAuth ID", "October": "Outubro", "Off": "Desligado", @@ -611,7 +611,7 @@ "Ollama": "Ollama", "Ollama API": "API Ollama", "Ollama API disabled": "API Ollama desativada", - "Ollama API settings updated": "", + "Ollama API settings updated": "Configurações da API Ollama atualizadas", "Ollama Version": "Versão Ollama", "On": "Ligado", "Only alphanumeric characters and hyphens are allowed": "Somente caracteres alfanuméricos e hífens são permitidos", @@ -625,7 +625,7 @@ "Open file": "Abrir arquivo", "Open in full screen": "Abrir em tela cheia", "Open new chat": "Abrir novo chat", - "Open WebUI uses faster-whisper internally.": "Open WebUI usa reconhecimento de fala rápido mais rápido internamente.", + "Open WebUI uses faster-whisper internally.": "Open WebUI usa faster-whisper internamente.", "Open WebUI uses SpeechT5 and CMU Arctic speaker embeddings.": "A Open WebUI usa os embeddings de voz do SpeechT5 e do CMU Arctic.", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "A versão do Open WebUI (v{{OPEN_WEBUI_VERSION}}) é inferior à versão necessária (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", @@ -642,7 +642,7 @@ "Overview": "Visão Geral", "page": "página", "Password": "Senha", - "Paste Large Text as File": "", + "Paste Large Text as File": "Cole Textos Longos como Arquivo", "PDF document (.pdf)": "Documento PDF (.pdf)", "PDF Extract Images (OCR)": "Extrair Imagens do PDF (OCR)", "pending": "pendente", @@ -653,7 +653,7 @@ "Personalization": "Personalização", "Pin": "Fixar", "Pinned": "Fixado", - "Pioneer insights": "", + "Pioneer insights": "Insights pioneiros", "Pipeline deleted successfully": "Pipeline excluído com sucesso", "Pipeline downloaded successfully": "Pipeline baixado com sucesso", "Pipelines": "Pipelines", @@ -681,7 +681,7 @@ "Prompts Access": "Acessar prompts", "Pull \"{{searchValue}}\" from Ollama.com": "Obter \"{{searchValue}}\" de Ollama.com", "Pull a model from Ollama.com": "Obter um modelo de Ollama.com", - "Query Generation Prompt": "", + "Query Generation Prompt": "Prompt de Geração de Consulta", "Query Params": "Parâmetros de Consulta", "RAG Template": "Modelo RAG", "Rating": "Avaliação", @@ -689,11 +689,11 @@ "Read Aloud": "Ler em Voz Alta", "Record voice": "Gravar voz", "Redirecting you to OpenWebUI Community": "Redirecionando você para a Comunidade OpenWebUI", - "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "", + "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "Reduz a probabilidade de gerar absurdos. Um valor mais alto (por exemplo, 100) dará respostas mais diversas, enquanto um valor mais baixo (por exemplo, 10) será mais conservador. (Padrão: 40)", "Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "Refira-se como \"Usuário\" (por exemplo, \"Usuário está aprendendo espanhol\")", "References from": "Referências de", "Refused when it shouldn't have": "Recusado quando não deveria", - "Regenerate": "Regenerar", + "Regenerate": "Gerar novamente", "Release Notes": "Notas de Lançamento", "Relevance": "Relevância", "Remove": "Remover", @@ -715,13 +715,13 @@ "Role": "Função", "Rosé Pine": "Rosé Pine", "Rosé Pine Dawn": "Rosé Pine Dawn", - "RTL": "RTL", + "RTL": "Direita para Esquerda", "Run": "Executar", "Running": "Executando", "Save": "Salvar", "Save & Create": "Salvar e Criar", "Save & Update": "Salvar e Atualizar", - "Save As Copy": "Salvar como cópia", + "Save As Copy": "Salvar Como Cópia", "Save Tag": "Salvar Tag", "Saved": "Armazenado", "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Salvar registros de chat diretamente no armazenamento do seu navegador não é mais suportado. Por favor, reserve um momento para baixar e excluir seus registros de chat clicando no botão abaixo. Não se preocupe, você pode facilmente reimportar seus registros de chat para o backend através de", @@ -731,17 +731,17 @@ "Search Base": "Pesquisar base", "Search Chats": "Pesquisar Chats", "Search Collection": "Pesquisar Coleção", - "Search Filters": "Pesquisar filtros", + "Search Filters": "Pesquisar Filtros", "search for tags": "Pesquisar por tags", "Search Functions": "Pesquisar Funções", - "Search Knowledge": "Pesquisar conhecimento", + "Search Knowledge": "Pesquisar Conhecimento", "Search Models": "Pesquisar Modelos", "Search options": "Opções de pesquisa", - "Search Prompts": "Pesquisar Prompts", + "Search Prompts": "Prompts de Pesquisa", "Search Result Count": "Contagem de Resultados da Pesquisa", "Search the web": "Pesquisar web", "Search Tools": "Pesquisar Ferramentas", - "SearchApi API Key": "Pesquisar SearchApi key", + "SearchApi API Key": "Chave API SearchApi", "SearchApi Engine": "Motor SearchApi", "Searched {{count}} sites_one": "Pesquisou {{count}} sites_one", "Searched {{count}} sites_many": "Pesquisou {{count}} sites_many", @@ -760,8 +760,8 @@ "Select a pipeline": "Selecione um pipeline", "Select a pipeline url": "Selecione uma URL de pipeline", "Select a tool": "Selecione uma ferramenta", - "Select Engine": "Selecionar motor", - "Select Knowledge": "Selecionar conhecimento", + "Select Engine": "Selecionar Motor", + "Select Knowledge": "Selecionar Conhecimento", "Select model": "Selecionar modelo", "Select only one model to call": "Selecione apenas um modelo para chamar", "Selected model(s) do not support image inputs": "Modelo(s) selecionado(s) não suportam entradas de imagem", @@ -783,7 +783,7 @@ "Set Image Size": "Definir Tamanho da Imagem", "Set reranking model (e.g. {{model}})": "Definir modelo de reclassificação (por exemplo, {{model}})", "Set Sampler": "Definir Sampler", - "Set Scheduler": "Definir Agenda", + "Set Scheduler": "Definir Agendador", "Set Steps": "Definir Etapas", "Set Task Model": "Definir Modelo de Tarefa", "Set the number of GPU devices used for computation. This option controls how many GPU devices (if available) are used to process incoming requests. Increasing this value can significantly improve performance for models that are optimized for GPU acceleration but may also consume more power and GPU resources.": "Defina o número de dispositivos GPU usados para computação. Esta opção controla quantos dispositivos GPU (se disponíveis) são usados para processar as solicitações recebidas. Aumentar esse valor pode melhorar significativamente o desempenho para modelos otimizados para aceleração de GPU, mas também pode consumir mais energia e recursos da GPU.", @@ -801,7 +801,7 @@ "Share Chat": "Compartilhar Chat", "Share to OpenWebUI Community": "Compartilhar com a Comunidade OpenWebUI", "Show": "Mostrar", - "Show \"What's New\" modal on login": "Mostrar \"novidades\" no login", + "Show \"What's New\" modal on login": "Mostrar \"O que há de Novo\" no login", "Show Admin Details in Account Pending Overlay": "Mostrar Detalhes do Administrador na Sobreposição de Conta Pendentes", "Show shortcuts": "Mostrar atalhos", "Show your support!": "Mostre seu apoio!", @@ -819,10 +819,10 @@ "Speech-to-Text Engine": "Motor de Transcrição de Fala", "Stop": "Parar", "Stop Sequence": "Sequência de Parada", - "Stream Chat Response": "", + "Stream Chat Response": "Stream Resposta do Chat", "STT Model": "Modelo STT", "STT Settings": "Configurações STT", - "Subtitle (e.g. about the Roman Empire)": "Legenda (por exemplo, sobre o Império Romano)", + "Subtitle (e.g. about the Roman Empire)": "Subtítulo (por exemplo, sobre o Império Romano)", "Success": "Sucesso", "Successfully updated.": "Atualizado com sucesso.", "Suggested": "Sugerido", @@ -838,12 +838,12 @@ "Tavily API Key": "Chave da API Tavily", "Tell us more:": "Conte-nos mais:", "Temperature": "Temperatura", - "Template": "Modelo", + "Template": "Template", "Temporary Chat": "Chat temporário", - "Text Splitter": "Divisor de texto", + "Text Splitter": "Divisor de Texto", "Text-to-Speech Engine": "Motor de Texto para Fala", "Tfs Z": "Tfs Z", - "Thanks for your feedback!": "Obrigado pelo seu feedback!", + "Thanks for your feedback!": "Obrigado pelo seu comentário!", "The Application Account DN you bind with for search": "O DN (Distinguished Name) da Conta de Aplicação com a qual você se conecta para pesquisa.", "The base to search for users": "Base para pesquisar usuários.", "The batch size determines how many text requests are processed together at once. A higher batch size can increase the performance and speed of the model, but it also requires more memory. (Default: 512)": "O tamanho do lote (batch size) determina quantas solicitações de texto são processadas juntas de uma vez. Um tamanho de lote maior pode aumentar o desempenho e a velocidade do modelo, mas também requer mais memória. (Padrão: 512)", @@ -865,9 +865,9 @@ "This option will delete all existing files in the collection and replace them with newly uploaded files.": "Essa opção deletará todos os arquivos existentes na coleção e todos eles serão substituídos.", "This response was generated by \"{{model}}\"": "Esta resposta foi gerada por \"{{model}}\"", "This will delete": "Isso vai excluir", - "This will delete {{NAME}} and all its contents.": "Esta ação deletará {{NAME}} e todos seus conteúdos.", - "This will delete all models including custom models": "", - "This will delete all models including custom models and cannot be undone.": "", + "This will delete {{NAME}} and all its contents.": "Esta ação excluirá {{NAME}} e todos seus conteúdos.", + "This will delete all models including custom models": "Isto vai excluir todos os modelos, incluindo personalizados", + "This will delete all models including custom models and cannot be undone.": "Isto vai excluir todos os modelos, incluindo personalizados e não pode ser desfeito.", "This will reset the knowledge base and sync all files. Do you wish to continue?": "Esta ação resetará a base de conhecimento e sincronizará todos os arquivos. Deseja continuar?", "Thorough explanation": "Explicação detalhada", "Tika": "Tika", @@ -884,7 +884,7 @@ "To access the GGUF models available for downloading,": "Para acessar os modelos GGUF disponíveis para download,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "Para acessar a WebUI, entre em contato com o administrador. Os administradores podem gerenciar os status dos usuários no Painel de Administração.", "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "Para anexar a base de conhecimento aqui, adicione-os ao espaço de trabalho \"Conhecimento\" primeiro.", - "To protect your privacy, only ratings, model IDs, tags, and metadata are shared from your feedback—your chat logs remain private and are not included.": "", + "To protect your privacy, only ratings, model IDs, tags, and metadata are shared from your feedback—your chat logs remain private and are not included.": "Para proteger sua privacidade, apenas classificações, IDs de modelo, tags e metadados são compartilhados a partir de seus comentários – seus registros de bate-papo permanecem privados e não são incluídos.", "To select actions here, add them to the \"Functions\" workspace first.": "Para selecionar ações aqui, adicione-os ao espaço de trabalho \"Ações\" primeiro.", "To select filters here, add them to the \"Functions\" workspace first.": "Para selecionar filtros aqui, adicione-os ao espaço de trabalho \"Funções\" primeiro.", "To select toolkits here, add them to the \"Tools\" workspace first.": "Para selecionar kits de ferramentas aqui, adicione-os ao espaço de trabalho \"Ferramentas\" primeiro.", @@ -919,8 +919,8 @@ "Uh-oh! There was an issue connecting to {{provider}}.": "Ops! Houve um problema ao conectar-se ao {{provider}}.", "UI": "Interface", "Unarchive All": "Desarquivar tudo", - "Unarchive All Archived Chats": "Desarquivar todos os chats arquivados", - "Unarchive Chat": "Desarquivar chat", + "Unarchive All Archived Chats": "Desarquivar Todos os Chats Arquivados", + "Unarchive Chat": "Desarquivar Chat", "Unlock mysteries": "Desvendar mistérios", "Unpin": "Desfixar", "Unravel secrets": "Desvendar segredos", @@ -931,7 +931,7 @@ "Update password": "Atualizar senha", "Updated": "Atualizado", "Updated at": "Atualizado em", - "Updated At": "Atualizado em", + "Updated At": "Atualizado Em", "Upload": "Fazer upload", "Upload a GGUF model": "Fazer upload de um modelo GGUF", "Upload directory": "Carregar diretório", @@ -950,9 +950,9 @@ "user": "usuário", "User": "Usuário", "User location successfully retrieved.": "Localização do usuário recuperada com sucesso.", - "Username": "Usuário", + "Username": "Nome do Usuário", "Users": "Usuários", - "Using the default arena model with all models. Click the plus button to add custom models.": "Usando o modelo arena padrão para todos os modelos. Clique no botão mais para adicionar modelos personalizados.", + "Using the default arena model with all models. Click the plus button to add custom models.": "Usando a arena de modelos padrão para todos os modelos. Clique no botão mais para adicionar modelos personalizados.", "Utilize": "Utilizar", "Valid time units:": "Unidades de tempo válidas:", "Valves": "Válvulas", @@ -979,21 +979,21 @@ "WebUI will make requests to \"{{url}}/api/chat\"": "A WebUI fará requisições para \"{{url}}/api/chat\".", "WebUI will make requests to \"{{url}}/chat/completions\"": "A WebUI fará requisições para \"{{url}}/chat/completions\".", "What are you trying to achieve?": "O que está tentando alcançar?", - "What are you working on?": "O que está trabalhando?", + "What are you working on?": "No que está trabalhando?", "What’s New in": "O que há de novo em", "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "Quando habilitado, o modelo responderá a cada mensagem de chat em tempo real, gerando uma resposta assim que o usuário enviar uma mensagem. Este modo é útil para aplicativos de chat ao vivo, mas pode impactar o desempenho em hardware mais lento.", - "wherever you are": "Onde quer que você esteja.", + "wherever you are": "onde quer que você esteja.", "Whisper (Local)": "Whisper (Local)", - "Why?": "", + "Why?": "Por que", "Widescreen Mode": "Modo Tela Cheia", - "Won": "Positivo", + "Won": "Ganhou", "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "Funciona em conjunto com o top-k. Um valor mais alto (por exemplo, 0,95) levará a um texto mais diversificado, enquanto um valor mais baixo (por exemplo, 0,5) gerará um texto mais focado e conservador. (Padrão: 0,9)", "Workspace": "Espaço de Trabalho", "Workspace Permissions": "Permissões do espaço de trabalho", "Write a prompt suggestion (e.g. Who are you?)": "Escreva uma sugestão de prompt (por exemplo, Quem é você?)", "Write a summary in 50 words that summarizes [topic or keyword].": "Escreva um resumo em 50 palavras que resuma [tópico ou palavra-chave].", - "Write something...": "Escrevendo algo...", - "Write your model template content here": "Escreva o conteúdo do modelo aqui.", + "Write something...": "Escreva algo...", + "Write your model template content here": "Escreva o conteúdo do template do modelo aqui.", "Yesterday": "Ontem", "You": "Você", "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Você só pode conversar com no máximo {{maxCount}} arquivo(s) de cada vez.", From f07ba60f2a12757308762076e4cea528c302e683 Mon Sep 17 00:00:00 2001 From: SimonOriginal Date: Fri, 22 Nov 2024 14:43:11 +0100 Subject: [PATCH 39/83] Update uk translation.json --- src/lib/i18n/locales/uk-UA/translation.json | 244 ++++++++++---------- 1 file changed, 121 insertions(+), 123 deletions(-) diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 6f84ac37f..93fb5aa90 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -6,38 +6,37 @@ "{{ models }}": "{{ models }}", "{{user}}'s Chats": "Чати {{user}}а", "{{webUIName}} Backend Required": "Необхідно підключення бекенду {{webUIName}}", - "*Prompt node ID(s) are required for image generation": "*Для генерації зображення потрібно вказати ідентифікатор(и) вузла(ів)", - "A new version (v{{LATEST_VERSION}}) is now available.": "Нова версія (в{{LATEST_VERSION}}) зараз доступна.", + "A new version (v{{LATEST_VERSION}}) is now available.": "Нова версія (v{{LATEST_VERSION}}) зараз доступна.", "A task model is used when performing tasks such as generating titles for chats and web search queries": "Модель задач використовується при виконанні таких завдань, як генерація заголовків для чатів та пошукових запитів в Інтернеті", "a user": "користувача", "About": "Про програму", - "Access": "", - "Access Control": "", - "Accessible to all users": "", + "Access": "Доступ", + "Access Control": "Контроль доступу", + "Accessible to all users": "Доступно всім користувачам", "Account": "Обліковий запис", "Account Activation Pending": "Очікування активації облікового запису", "Accurate information": "Точна інформація", "Actions": "Дії", - "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "", + "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "Активуйте цю команду, ввівши \"/{{COMMAND}}\" у введення чату.", "Active Users": "Активні користувачі", "Add": "Додати", - "Add a model ID": "", + "Add a model ID": "Додайти ID моделі", "Add a short description about what this model does": "Додайте короткий опис того, що робить ця модель", - "Add a tag": "Додайте тег", + "Add a tag": "Додайти тег", "Add Arena Model": "Додати модель Arena", - "Add Connection": "", + "Add Connection": "Додати з'єднання", "Add Content": "Додати вміст", "Add content here": "Додайте вміст сюди", "Add custom prompt": "Додати користувацьку підказку", "Add Files": "Додати файли", - "Add Group": "", + "Add Group": "Додати групу", "Add Memory": "Додати пам'ять", "Add Model": "Додати модель", "Add Tag": "Додати тег", "Add Tags": "Додати теги", "Add text content": "Додати текстовий вміст", "Add User": "Додати користувача", - "Add User Group": "", + "Add User Group": "Додати групу користувачів", "Adjusting these settings will apply changes universally to all users.": "Зміни в цих налаштуваннях будуть застосовані для всіх користувачів.", "admin": "адмін", "Admin": "Адмін", @@ -48,18 +47,18 @@ "Advanced Params": "Розширені параметри", "All chats": "Усі чати", "All Documents": "Усі документи", - "All models deleted successfully": "", - "Allow Chat Delete": "", + "All models deleted successfully": "Всі моделі видалені успішно", + "Allow Chat Delete": "Дозволити видалення чату", "Allow Chat Deletion": "Дозволити видалення чату", - "Allow Chat Edit": "", - "Allow File Upload": "", + "Allow Chat Edit": "Дозволити редагування чату", + "Allow File Upload": "Дозволити завантаження файлів", "Allow non-local voices": "Дозволити не локальні голоси", "Allow Temporary Chat": "Дозволити тимчасовий чат", "Allow User Location": "Доступ до місцезнаходження", "Allow Voice Interruption in Call": "Дозволити переривання голосу під час виклику", "Already have an account?": "Вже є обліковий запис?", "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "Альтернатива параметру top_p, яка має на меті забезпечити баланс якості та різноманітності. Параметр p представляє мінімальну ймовірність для того, щоб токен був врахований, відносно ймовірності найбільш ймовірного токена. Наприклад, при p=0.05 і найбільш імовірному токені з ймовірністю 0.9, логіти зі значенням менше 0.045 будуть відфільтровані. (За замовчуванням: 0.0)", - "Amazing": "", + "Amazing": "Чудово", "an assistant": "асистента", "and": "та", "and {{COUNT}} more": "та ще {{COUNT}}", @@ -70,13 +69,13 @@ "API keys": "Ключі API", "Application DN": "DN застосунку", "Application DN Password": "Пароль DN застосунку", - "applies to all users with the \"user\" role": "", + "applies to all users with the \"user\" role": "стосується всіх користувачів з роллю \"користувач\"", "April": "Квітень", "Archive": "Архів", "Archive All Chats": "Архівувати всі чати", "Archived Chats": "Архівовані чати", - "archived-chat-export": "", - "Are you sure you want to unarchive all archived chats?": "", + "archived-chat-export": "експорт-архівованих-чатів", + "Are you sure you want to unarchive all archived chats?": "Ви впевнені, що хочете розархівувати всі архівовані чати?", "Are you sure?": "Ви впевнені?", "Arena Models": "Моделі Arena", "Artifacts": "Артефакти", @@ -96,7 +95,7 @@ "AUTOMATIC1111 Base URL is required.": "Необхідна URL-адреса AUTOMATIC1111.", "Available list": "Список доступності", "available!": "доступно!", - "Awful": "", + "Awful": "Жахливо", "Azure AI Speech": "Мовлення Azure AI", "Azure Region": "Регіон Azure", "Back": "Назад", @@ -109,7 +108,7 @@ "Bing Search V7 Endpoint": "Точка доступу Bing Search V7", "Bing Search V7 Subscription Key": "Ключ підписки Bing Search V7", "Brave Search API Key": "Ключ API пошуку Brave", - "By {{name}}": "", + "By {{name}}": "Від {{name}}", "Bypass SSL verification for Websites": "Обхід SSL-перевірки для веб-сайтів", "Call": "Виклик", "Call feature is not supported when using Web STT engine": "Функція виклику не підтримується при використанні Web STT (розпізнавання мовлення) рушія", @@ -126,7 +125,7 @@ "Chat Controls": "Керування чатом", "Chat direction": "Напрям чату", "Chat Overview": "Огляд чату", - "Chat Permissions": "", + "Chat Permissions": "Дозволи чату", "Chat Tags Auto-Generation": "Автоматична генерація тегів чату", "Chats": "Чати", "Check Again": "Перевірити ще раз", @@ -157,7 +156,7 @@ "Code execution": "Виконання коду", "Code formatted successfully": "Код успішно відформатовано", "Collection": "Колекція", - "Color": "", + "Color": "Колір", "ComfyUI": "ComfyUI", "ComfyUI Base URL": "URL-адреса ComfyUI", "ComfyUI Base URL is required.": "Необхідно вказати URL-адресу ComfyUI.", @@ -166,7 +165,7 @@ "Command": "Команда", "Completions": "Завершення", "Concurrent Requests": "Одночасні запити", - "Configure": "", + "Configure": "Налаштувати", "Confirm": "Підтвердити", "Confirm Password": "Підтвердіть пароль", "Confirm your action": "Підтвердіть свою дію", @@ -191,12 +190,12 @@ "Copy Link": "Копіювати посилання", "Copy to clipboard": "Копіювати в буфер обміну", "Copying to clipboard was successful!": "Копіювання в буфер обміну виконано успішно!", - "Create": "", + "Create": "Створити", "Create a knowledge base": "Створити базу знань", "Create a model": "Створити модель", "Create Account": "Створити обліковий запис", "Create Admin Account": "Створити обліковий запис адміністратора", - "Create Group": "", + "Create Group": "Створити групу", "Create Knowledge": "Створити знання", "Create new key": "Створити новий ключ", "Create new secret key": "Створити новий секретний ключ", @@ -215,8 +214,8 @@ "Default (SentenceTransformers)": "За замовчуванням (SentenceTransformers)", "Default Model": "Модель за замовчуванням", "Default model updated": "Модель за замовчуванням оновлено", - "Default permissions": "", - "Default permissions updated successfully": "", + "Default permissions": "Дозволи за замовчуванням", + "Default permissions updated successfully": "Дозволи за замовчуванням успішно оновлено", "Default Prompt Suggestions": "Пропозиції промтів замовчуванням", "Default to 389 or 636 if TLS is enabled": "За замовчуванням використовується 389 або 636, якщо TLS увімкнено.", "Default to ALL": "За замовчуванням — ВСІ.", @@ -224,7 +223,7 @@ "Delete": "Видалити", "Delete a model": "Видалити модель", "Delete All Chats": "Видалити усі чати", - "Delete All Models": "", + "Delete All Models": "Видалити всі моделі", "Delete chat": "Видалити чат", "Delete Chat": "Видалити чат", "Delete chat?": "Видалити чат?", @@ -236,7 +235,7 @@ "Delete User": "Видалити користувача", "Deleted {{deleteModelTag}}": "Видалено {{deleteModelTag}}", "Deleted {{name}}": "Видалено {{name}}", - "Deleted User": "", + "Deleted User": "Видалений користувач", "Describe your knowledge base and objectives": "Опишіть вашу базу знань та цілі", "Description": "Опис", "Didn't fully follow instructions": "Не повністю дотримувалися інструкцій", @@ -251,10 +250,10 @@ "Discover, download, and explore custom tools": "Знайдіть, завантажте та досліджуйте налаштовані інструменти", "Discover, download, and explore model presets": "Знайдіть, завантажте та досліджуйте налаштування моделей", "Dismissible": "Неприйнятно", - "Display": "", + "Display": "Відображення", "Display Emoji in Call": "Відображати емодзі у викликах", "Display the username instead of You in the Chat": "Показувати ім'я користувача замість 'Ви' в чаті", - "Displays citations in the response": "", + "Displays citations in the response": "Показує посилання у відповіді", "Dive into knowledge": "Зануртесь у знання", "Do not install functions from sources you do not fully trust.": "Не встановлюйте функції з джерел, яким ви не повністю довіряєте.", "Do not install tools from sources you do not fully trust.": "Не встановлюйте інструменти з джерел, яким ви не повністю довіряєте.", @@ -270,23 +269,22 @@ "Download": "Завантажити", "Download canceled": "Завантаження скасовано", "Download Database": "Завантажити базу даних", - "Drag and drop a file to upload or select a file to view": "", + "Drag and drop a file to upload or select a file to view": "Перетягніть файл для завантаження або виберіть файл для перегляду", "Draw": "Малювати", "Drop any files here to add to the conversation": "Перетягніть сюди файли, щоб додати до розмови", - "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "напр., '30s','10m'. Дійсні одиниці часу: 'с', 'хв', 'г'.", - "e.g. A filter to remove profanity from text": "", - "e.g. My Filter": "", - "e.g. My Tools": "", - "e.g. my_filter": "", - "e.g. my_tools": "", - "e.g. Tools for performing various operations": "", + "e.g. A filter to remove profanity from text": "напр., фільтр для видалення нецензурної лексики з тексту", + "e.g. My Filter": "напр., Мій фільтр", + "e.g. My Tools": "напр., Мої інструменти", + "e.g. my_filter": "напр., my_filter", + "e.g. my_tools": "напр., my_tools", + "e.g. Tools for performing various operations": "напр., Інструменти для виконання різних операцій", "Edit": "Редагувати", "Edit Arena Model": "Редагувати модель Arena", - "Edit Connection": "", - "Edit Default Permissions": "", + "Edit Connection": "Редагувати з'єднання", + "Edit Default Permissions": "Редагувати дозволи за замовчуванням", "Edit Memory": "Редагувати пам'ять", "Edit User": "Редагувати користувача", - "Edit User Group": "", + "Edit User Group": "Редагувати групу користувачів", "ElevenLabs": "ElevenLabs", "Email": "Ел. пошта", "Embark on adventures": "Вирушайте в пригоди", @@ -294,14 +292,14 @@ "Embedding Model": "Модель вбудовування", "Embedding Model Engine": "Рушій моделі вбудовування ", "Embedding model set to \"{{embedding_model}}\"": "Встановлена модель вбудовування \"{{embedding_model}}\"", - "Enable API Key Auth": "", + "Enable API Key Auth": "Увімкнути автентифікацію за допомогою API ключа", "Enable Community Sharing": "Увімкнути спільний доступ", "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "Увімкнути блокування пам'яті (mlock), щоб запобігти виведенню даних моделі з оперативної пам'яті. Цей параметр блокує робочий набір сторінок моделі в оперативній пам'яті, гарантуючи, що вони не будуть виведені на диск. Це може допомогти підтримувати продуктивність, уникати помилок сторінок та забезпечувати швидкий доступ до даних.", "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "Увімкнути відображення пам'яті (mmap) для завантаження даних моделі. Цей параметр дозволяє системі використовувати дискове сховище як розширення оперативної пам'яті, трактуючи файли на диску, як ніби вони знаходяться в RAM. Це може покращити продуктивність моделі, дозволяючи швидший доступ до даних. Однак, він може не працювати коректно на всіх системах і може споживати значну кількість дискового простору.", "Enable Message Rating": "Увімкнути оцінку повідомлень", "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "Увімкнути вибірку Mirostat для контролю над непередбачуваністю. (За замовчуванням: 0, 0 = Вимкнено, 1 = Mirostat, 2 = Mirostat 2.0)", "Enable New Sign Ups": "Дозволити нові реєстрації", - "Enable Retrieval Query Generation": "", + "Enable Retrieval Query Generation": "Увімкнути генерацію запитів для вилучення", "Enable Tags Generation": "Увімкнути генерацію тегів", "Enable Web Search": "Увімкнути веб-пошук", "Enable Web Search Query Generation": "Увімкнути генерацію запитів для веб-пошуку", @@ -329,7 +327,7 @@ "Enter language codes": "Введіть мовні коди", "Enter Model ID": "Введіть ID моделі", "Enter model tag (e.g. {{modelTag}})": "Введіть тег моделі (напр., {{modelTag}})", - "Enter Mojeek Search API Key": "", + "Enter Mojeek Search API Key": "Введіть API ключ для пошуку Mojeek", "Enter Number of Steps (e.g. 50)": "Введіть кількість кроків (напр., 50)", "Enter Sampler (e.g. Euler a)": "Введіть семплер (напр., Euler a)", "Enter Scheduler (e.g. Karras)": "Введіть планувальник (напр., Karras)", @@ -368,17 +366,17 @@ "Experimental": "Експериментальне", "Explore the cosmos": "Досліджуйте космос", "Export": "Експорт", - "Export All Archived Chats": "", - "Export All Chats (All Users)": "Експортувати всі чати (всіх користувачів)", + "Export All Archived Chats": "Експорт всіх архівованих чатів", + "Export All Chats (All Users)": "Експорт всіх чатів (всіх користувачів)", "Export chat (.json)": "Експорт чату (.json)", - "Export Chats": "Експортувати чати", - "Export Config to JSON File": "Експортувати конфігурацію у файл JSON", + "Export Chats": "Експорт чатів", + "Export Config to JSON File": "Експорт конфігурації у файл JSON", "Export Functions": "Експорт функцій ", "Export Models": "Експорт моделей", - "Export Presets": "", - "Export Prompts": "Експортувати промти", - "Export to CSV": "Експортувати в CSV", - "Export Tools": "Експортувати інструменти", + "Export Presets": "Експорт пресетів", + "Export Prompts": "Експорт промтів", + "Export to CSV": "Експорт в CSV", + "Export Tools": "Експорт інструментів", "External Models": "Зовнішні моделі", "Failed to add file.": "Не вдалося додати файл.", "Failed to create API Key.": "Не вдалося створити API ключ.", @@ -387,7 +385,7 @@ "Failed to upload file.": "Не вдалося завантажити файл.", "February": "Лютий", "Feedback History": "Історія відгуків", - "Feedbacks": "", + "Feedbacks": "Відгуки", "Feel free to add specific details": "Не соромтеся додавати конкретні деталі", "File": "Файл", "File added successfully.": "Файл успішно додано.", @@ -415,11 +413,11 @@ "Function": "Функція", "Function created successfully": "Функцію успішно створено", "Function deleted successfully": "Функцію успішно видалено", - "Function Description": "", - "Function ID": "", + "Function Description": "Опис функції", + "Function ID": "ID функції", "Function is now globally disabled": "Функція зараз глобально вимкнена", "Function is now globally enabled": "Функція зараз глобально увімкнена ", - "Function Name": "", + "Function Name": "Назва функції", "Function updated successfully": "Функцію успішно оновлено", "Functions": "Функції", "Functions allow arbitrary code execution": "Функції дозволяють виконання довільного коду", @@ -436,39 +434,39 @@ "Good Response": "Гарна відповідь", "Google PSE API Key": "Ключ API Google PSE", "Google PSE Engine Id": "Id рушія Google PSE", - "Group created successfully": "", - "Group deleted successfully": "", - "Group Description": "", - "Group Name": "", - "Group updated successfully": "", - "Groups": "", + "Group created successfully": "Групу успішно створено", + "Group deleted successfully": "Групу успішно видалено", + "Group Description": "Опис групи", + "Group Name": "Назва групи", + "Group updated successfully": "Групу успішно оновлено", + "Groups": "Групи", "h:mm a": "h:mm a", "Haptic Feedback": "Тактильний зворотній зв'язок", "has no conversations.": "не має розмов.", "Hello, {{name}}": "Привіт, {{name}}", "Help": "Допоможіть", "Help us create the best community leaderboard by sharing your feedback history!": "Допоможіть нам створити найкращу таблицю лідерів спільноти, поділившись історією своїх відгуків!", - "Hex Color": "", - "Hex Color - Leave empty for default color": "", + "Hex Color": "Шістнадцятковий колір", + "Hex Color - Leave empty for default color": "Шістнадцятковий колір — залиште порожнім для кольору за замовчуванням", "Hide": "Приховати", "Host": "Хост", "How can I help you today?": "Чим я можу допомогти вам сьогодні?", - "How would you rate this response?": "", + "How would you rate this response?": "Як би ви оцінили цю відповідь?", "Hybrid Search": "Гібридний пошук", "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Я підтверджую, що прочитав і розумію наслідки своїх дій. Я усвідомлюю ризики, пов'язані з виконанням довільного коду, і перевірив надійність джерела.", - "ID": "Ідентифікатор", + "ID": "ID", "Ignite curiosity": "Запаліть цікавість", "Image Generation (Experimental)": "Генерування зображень (експериментально)", "Image Generation Engine": "Механізм генерації зображень", "Image Settings": "Налаштування зображення", "Images": "Зображення", - "Import Chats": "Імпортувати чати", - "Import Config from JSON File": "Імпортувати конфігурацію з файлу JSON", + "Import Chats": "Імпорт чатів", + "Import Config from JSON File": "Імпорт конфігурації з файлу JSON", "Import Functions": "Імпорт функцій ", "Import Models": "Імпорт моделей", - "Import Presets": "", - "Import Prompts": "Імпортувати промти", - "Import Tools": "Імпортувати інструменти", + "Import Presets": "Імпорт пресетів", + "Import Prompts": "Імпорт промтів", + "Import Tools": "Імпорт інструментів", "Include": "Включити", "Include `--api-auth` flag when running stable-diffusion-webui": "Включіть прапорець `--api-auth` під час запуску stable-diffusion-webui", "Include `--api` flag when running stable-diffusion-webui": "Включіть прапор `--api` при запуску stable-diffusion-webui", @@ -490,10 +488,10 @@ "JWT Expiration": "Термін дії JWT", "JWT Token": "Токен JWT", "Keep Alive": "Зберегти активність", - "Key": "", + "Key": "Ключ", "Keyboard shortcuts": "Клавіатурні скорочення", "Knowledge": "Знання", - "Knowledge Access": "", + "Knowledge Access": "Доступ до знань", "Knowledge created successfully.": "Знання успішно створено.", "Knowledge deleted successfully.": "Знання успішно видалено.", "Knowledge reset successfully.": "Знання успішно скинуто.", @@ -507,8 +505,8 @@ "LDAP server updated": "Сервер LDAP оновлено", "Leaderboard": "Таблиця лідерів", "Leave empty for unlimited": "Залиште порожнім для необмеженого розміру", - "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "", - "Leave empty to include all models from \"{{URL}}/models\" endpoint": "", + "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "Залиште порожнім, щоб включити всі моделі з кінцевої точки \"{{URL}}/api/tags\"", + "Leave empty to include all models from \"{{URL}}/models\" endpoint": "Залиште порожнім, щоб включити всі моделі з кінцевої точки \"{{URL}}/models\"", "Leave empty to include all models or select specific models": "Залиште порожнім, щоб включити всі моделі, або виберіть конкретні моделі.", "Leave empty to use the default prompt, or enter a custom prompt": "Залиште порожнім для використання стандартного запиту, або введіть власний запит", "Light": "Світла", @@ -523,9 +521,9 @@ "Make sure to export a workflow.json file as API format from ComfyUI.": "Обов'язково експортуйте файл workflow.json у форматі API з ComfyUI.", "Manage": "Керувати", "Manage Arena Models": "Керувати моделями Arena", - "Manage Ollama": "", - "Manage Ollama API Connections": "", - "Manage OpenAI API Connections": "", + "Manage Ollama": "Керувати Ollama", + "Manage Ollama API Connections": "Керувати з'єднаннями Ollama API", + "Manage OpenAI API Connections": "Керувати з'єднаннями OpenAI API", "Manage Pipelines": "Керування конвеєрами", "March": "Березень", "Max Tokens (num_predict)": "Макс токенів (num_predict)", @@ -559,18 +557,18 @@ "Model accepts image inputs": "Модель приймає зображеня", "Model created successfully!": "Модель створено успішно!", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "Виявлено шлях до файлової системи моделі. Для оновлення потрібно вказати коротке ім'я моделі, не вдасться продовжити.", - "Model Filtering": "", + "Model Filtering": "Фільтрація моделей", "Model ID": "ID моделі", - "Model IDs": "", + "Model IDs": "ID моделей", "Model Name": "Назва моделі", "Model not selected": "Модель не вибрана", "Model Params": "Параметри моделі", - "Model Permissions": "", + "Model Permissions": "Дозволи моделей", "Model updated successfully": "Модель успішно оновлено", "Modelfile Content": "Вміст файлу моделі", "Models": "Моделі", - "Models Access": "", - "Mojeek Search API Key": "", + "Models Access": "Доступ до моделей", + "Mojeek Search API Key": "API ключ для пошуку Mojeek", "more": "більше", "More": "Більше", "Name": "Ім'я", @@ -584,15 +582,15 @@ "No feedbacks found": "Відгуків не знайдено", "No file selected": "Файл не обрано", "No files found.": "Файли не знайдено.", - "No groups with access, add a group to grant access": "", + "No groups with access, add a group to grant access": "Немає груп з доступом, додайте групу для надання доступу", "No HTML, CSS, or JavaScript content found.": "HTML, CSS або JavaScript контент не знайдено.", "No knowledge found": "Знання не знайдено.", - "No model IDs": "", + "No model IDs": "Немає ID моделей", "No models found": "Моделей не знайдено", "No results found": "Не знайдено жодного результату", "No search query generated": "Пошуковий запит не сформовано", "No source available": "Джерело не доступне", - "No users were found.": "", + "No users were found.": "Користувачів не знайдено.", "No valves to update": "Немає клапанів для оновлення", "None": "Нема", "Not factually correct": "Не відповідає дійсності", @@ -611,13 +609,13 @@ "Ollama": "Ollama", "Ollama API": "Ollama API", "Ollama API disabled": "Ollama API вимкнено", - "Ollama API settings updated": "", + "Ollama API settings updated": "Налаштування Ollama API оновлено", "Ollama Version": "Версія Ollama", "On": "Увімк", - "Only alphanumeric characters and hyphens are allowed": "", + "Only alphanumeric characters and hyphens are allowed": "Дозволені тільки алфавітно-цифрові символи та дефіси", "Only alphanumeric characters and hyphens are allowed in the command string.": "У рядку команди дозволено використовувати лише алфавітно-цифрові символи та дефіси.", "Only collections can be edited, create a new knowledge base to edit/add documents.": "Редагувати можна лише колекції, створіть нову базу знань, щоб редагувати або додавати документи.", - "Only select users and groups with permission can access": "", + "Only select users and groups with permission can access": "Тільки вибрані користувачі та групи з дозволом можуть отримати доступ", "Oops! Looks like the URL is invalid. Please double-check and try again.": "Упс! Схоже, що URL-адреса невірна. Будь ласка, перевірте ще раз та спробуйте ще раз.", "Oops! There are files still uploading. Please wait for the upload to complete.": "Упс! Деякі файли все ще завантажуються. Будь ласка, зачекайте, поки завантаження завершиться.", "Oops! There was an error in the previous response.": "Упс! Сталася помилка в попередній відповіді.", @@ -632,24 +630,24 @@ "OpenAI API": "OpenAI API", "OpenAI API Config": "Конфігурація OpenAI API", "OpenAI API Key is required.": "Потрібен ключ OpenAI API.", - "OpenAI API settings updated": "", + "OpenAI API settings updated": "Налаштування OpenAI API оновлено", "OpenAI URL/Key required.": "Потрібен OpenAI URL/ключ.", "or": "або", - "Organize your users": "", + "Organize your users": "Організуйте своїх користувачів", "Other": "Інше", "OUTPUT": "ВИХІД", "Output format": "Формат відповіді", "Overview": "Огляд", "page": "сторінка", "Password": "Пароль", - "Paste Large Text as File": "", + "Paste Large Text as File": "Вставити великий текст як файл", "PDF document (.pdf)": "PDF документ (.pdf)", "PDF Extract Images (OCR)": "Розпізнавання зображень з PDF (OCR)", "pending": "на розгляді", "Permission denied when accessing media devices": "Відмовлено в доступі до медіапристроїв", "Permission denied when accessing microphone": "Відмовлено у доступі до мікрофона", "Permission denied when accessing microphone: {{error}}": "Доступ до мікрофона заборонено: {{error}}", - "Permissions": "", + "Permissions": "Дозволи", "Personalization": "Персоналізація", "Pin": "Зачепити", "Pinned": "Зачеплено", @@ -667,21 +665,21 @@ "Please select a reason": "Будь ласка, виберіть причину", "Port": "Порт", "Positive attitude": "Позитивне ставлення", - "Prefix ID": "", - "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "", + "Prefix ID": "ID префікса", + "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "ID префікса використовується для уникнення конфліктів з іншими підключеннями шляхом додавання префікса до ID моделей — залиште порожнім, щоб вимкнути", "Previous 30 days": "Попередні 30 днів", "Previous 7 days": "Попередні 7 днів", "Profile Image": "Зображення профілю", "Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Підказка (напр., розкажіть мені цікавий факт про Римську імперію)", "Prompt Content": "Зміст промту", - "Prompt created successfully": "", + "Prompt created successfully": "Підказку успішно створено", "Prompt suggestions": "Швидкі промти", - "Prompt updated successfully": "", + "Prompt updated successfully": "Підказку успішно оновлено", "Prompts": "Промти", - "Prompts Access": "", + "Prompts Access": "Доступ до підказок", "Pull \"{{searchValue}}\" from Ollama.com": "Завантажити \"{{searchValue}}\" з Ollama.com", "Pull a model from Ollama.com": "Завантажити модель з Ollama.com", - "Query Generation Prompt": "", + "Query Generation Prompt": "Підказка для генерації запиту", "Query Params": "Параметри запиту", "RAG Template": "Шаблон RAG", "Rating": "Оцінка", @@ -739,7 +737,7 @@ "Search options": "Опції пошуку", "Search Prompts": "Пошук промтів", "Search Result Count": "Кількість результатів пошуку", - "Search the web": "", + "Search the web": "Шукати в Інтернеті", "Search Tools": "Пошуку інструментів", "SearchApi API Key": "Ключ API для SearchApi", "SearchApi Engine": "Рушій SearchApi", @@ -756,7 +754,7 @@ "Select a base model": "Обрати базову модель", "Select a engine": "Оберіть рушій", "Select a function": "Оберіть функцію", - "Select a group": "", + "Select a group": "Вибрати групу", "Select a model": "Оберіть модель", "Select a pipeline": "Оберіть конвеєр", "Select a pipeline url": "Оберіть адресу конвеєра", @@ -779,7 +777,7 @@ "Set as default": "Встановити за замовчуванням", "Set CFG Scale": "Встановити масштаб CFG", "Set Default Model": "Встановити модель за замовчуванням", - "Set embedding model": "", + "Set embedding model": "Встановити модель вбудовування", "Set embedding model (e.g. {{model}})": "Встановити модель вбудовування (напр, {{model}})", "Set Image Size": "Встановити розмір зображення", "Set reranking model (e.g. {{model}})": "Встановити модель переранжування (напр., {{model}})", @@ -867,8 +865,8 @@ "This response was generated by \"{{model}}\"": "Цю відповідь згенеровано за допомогою \"{{model}}\"", "This will delete": "Це призведе до видалення", "This will delete {{NAME}} and all its contents.": "Це видалить {{NAME}} та всі його вмісти.", - "This will delete all models including custom models": "", - "This will delete all models including custom models and cannot be undone.": "", + "This will delete all models including custom models": "Це видалить усі моделі, включаючи користувацькі моделі", + "This will delete all models including custom models and cannot be undone.": "Це видалить усі моделі, включаючи користувацькі моделі, і не може бути скасовано.", "This will reset the knowledge base and sync all files. Do you wish to continue?": "Це скине базу знань і синхронізує всі файли. Ви бажаєте продовжити?", "Thorough explanation": "Детальне пояснення", "Tika": "Tika", @@ -885,7 +883,7 @@ "To access the GGUF models available for downloading,": "Щоб отримати доступ до моделей GGUF, які можна завантажити,,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "Щоб отримати доступ до веб-інтерфейсу, зверніться до адміністратора. Адміністратори можуть керувати статусами користувачів з Панелі адміністратора.", "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "Щоб прикріпити базу знань тут, спочатку додайте їх до робочого простору \"Знання\".", - "To protect your privacy, only ratings, model IDs, tags, and metadata are shared from your feedback—your chat logs remain private and are not included.": "Для захисту вашої конфіденційності з вашими відгуками діляться лише оцінками, ідентифікаторами моделей, тегами та метаданими — ваші журнали чату залишаються приватними і не включаються.", + "To protect your privacy, only ratings, model IDs, tags, and metadata are shared from your feedback—your chat logs remain private and are not included.": "Для захисту вашої конфіденційності з вашими відгуками діляться лише оцінками, ID моделей, тегами та метаданими — ваші журнали чату залишаються приватними і не включаються.", "To select actions here, add them to the \"Functions\" workspace first.": "Щоб вибрати дії тут, спочатку додайте їх до робочої області \"Функції\".", "To select filters here, add them to the \"Functions\" workspace first.": "Щоб обрати фільтри тут, спочатку додайте їх до робочої області \"Функції\".", "To select toolkits here, add them to the \"Tools\" workspace first.": "Щоб обрати тут набори інструментів, спочатку додайте їх до робочої області \"Інструменти\".", @@ -898,13 +896,13 @@ "Too verbose": "Занадто докладно", "Tool created successfully": "Інструмент успішно створено", "Tool deleted successfully": "Інструмент успішно видалено", - "Tool Description": "", - "Tool ID": "", + "Tool Description": "Опис інструменту", + "Tool ID": "ID інструменту", "Tool imported successfully": "Інструмент успішно імпортовано", - "Tool Name": "", + "Tool Name": "Назва інструменту", "Tool updated successfully": "Інструмент успішно оновлено", "Tools": "Інструменти", - "Tools Access": "", + "Tools Access": "Доступ до інструментів", "Tools are a function calling system with arbitrary code execution": "Інструменти - це система виклику функцій з довільним виконанням коду", "Tools have a function calling system that allows arbitrary code execution": "Інструменти мають систему виклику функцій, яка дозволяє виконання довільного коду", "Tools have a function calling system that allows arbitrary code execution.": "Інструменти мають систему виклику функцій, яка дозволяє виконання довільного коду.", @@ -919,9 +917,9 @@ "Type Hugging Face Resolve (Download) URL": "Введіть URL ресурсу Hugging Face Resolve (завантаження)", "Uh-oh! There was an issue connecting to {{provider}}.": "Ой! Виникла проблема при підключенні до {{provider}}.", "UI": "Користувацький інтерфейс", - "Unarchive All": "", - "Unarchive All Archived Chats": "", - "Unarchive Chat": "", + "Unarchive All": "Розархівувати все", + "Unarchive All Archived Chats": "Розархівувати всі архівовані чати", + "Unarchive Chat": "Розархівувати чат", "Unlock mysteries": "Розкрийте таємниці", "Unpin": "Відчепити", "Unravel secrets": "Розплутуйте секрети", @@ -940,11 +938,11 @@ "Upload Files": "Завантажити файли", "Upload Pipeline": "Завантажити конвеєр", "Upload Progress": "Прогрес завантаження", - "URL": "", + "URL": "URL", "URL Mode": "Режим URL-адреси", "Use '#' in the prompt input to load and include your knowledge.": "Використовуйте '#' у полі введення підказки, щоб завантажити та включити свої знання.", "Use Gravatar": "Змінити аватар", - "Use groups to group your users and assign permissions.": "", + "Use groups to group your users and assign permissions.": "Використовуйте групи, щоб об’єднувати користувачів і призначати дозволи.", "Use Initials": "Використовувати ініціали", "use_mlock (Ollama)": "use_mlock (Ollama)", "use_mmap (Ollama)": "use_mmap (Ollama)", @@ -963,12 +961,12 @@ "variable to have them replaced with clipboard content.": "змінна, щоб замінити їх вмістом буфера обміну.", "Version": "Версія", "Version {{selectedVersion}} of {{totalVersions}}": "Версія {{selectedVersion}} з {{totalVersions}}", - "Visibility": "", + "Visibility": "Видимість", "Voice": "Голос", "Voice Input": "Голосове введення", "Warning": "Увага!", "Warning:": "Увага:", - "Warning: Enabling this will allow users to upload arbitrary code on the server.": "", + "Warning: Enabling this will allow users to upload arbitrary code on the server.": "Попередження: Увімкнення цього дозволить користувачам завантажувати довільний код на сервер.", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Попередження: Якщо ви оновлюєте або змінюєте модель вбудовування, вам потрібно буде повторно імпортувати всі документи.", "Web": "Веб", "Web API": "Веб-API", @@ -977,20 +975,20 @@ "Web Search Engine": "Веб-пошукова система", "Webhook URL": "URL веб-запиту", "WebUI Settings": "Налаштування WebUI", - "WebUI will make requests to \"{{url}}/api/chat\"": "", - "WebUI will make requests to \"{{url}}/chat/completions\"": "", + "WebUI will make requests to \"{{url}}/api/chat\"": "WebUI надсилатиме запити до \"{{url}}/api/chat\"", + "WebUI will make requests to \"{{url}}/chat/completions\"": "WebUI надсилатиме запити до \"{{url}}/chat/completions\"", "What are you trying to achieve?": "Чого ви прагнете досягти?", "What are you working on?": "Над чим ти працюєш?", "What’s New in": "Що нового в", "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "Коли активовано, модель буде відповідати на кожне повідомлення чату в режимі реального часу, генеруючи відповідь, як тільки користувач надішле повідомлення. Цей режим корисний для застосувань життєвих вітань чатів, але може позначитися на продуктивності на повільнішому апаратному забезпеченні.", "wherever you are": "де б ви не були", "Whisper (Local)": "Whisper (Локально)", - "Why?": "", + "Why?": "Чому?", "Widescreen Mode": "Широкоекранний режим", "Won": "Переможець", "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "Працює разом з top-k. Більше значення (напр., 0.95) приведе до більш різноманітного тексту, тоді як менше значення (напр., 0.5) згенерує більш зосереджений і консервативний текст. (За замовчуванням: 0.9)", "Workspace": "Робочий простір", - "Workspace Permissions": "", + "Workspace Permissions": "Дозволи робочого простору.", "Write a prompt suggestion (e.g. Who are you?)": "Напишіть промт (напр., Хто ти?)", "Write a summary in 50 words that summarizes [topic or keyword].": "Напишіть стислий зміст у 50 слів, який узагальнює [тема або ключове слово].", "Write something...": "Напишіть щось...", @@ -1000,7 +998,7 @@ "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Ви можете спілкуватися лише з максимальною кількістю {{maxCount}} файлів одночасно.", "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Ви можете налаштувати ваші взаємодії з мовними моделями, додавши спогади через кнопку 'Керувати' внизу, що зробить їх більш корисними та персоналізованими для вас.", "You cannot upload an empty file.": "Ви не можете завантажити порожній файл.", - "You do not have permission to upload files.": "", + "You do not have permission to upload files.": "У вас немає дозволу завантажувати файли.", "You have no archived conversations.": "У вас немає архівованих розмов.", "You have shared this chat": "Ви поділилися цим чатом", "You're a helpful assistant.": "Ви корисний асистент.", From 2d5e1a8c6f7a0ddb5834121687484ae43275d2cf Mon Sep 17 00:00:00 2001 From: SimonOriginal Date: Fri, 22 Nov 2024 14:51:45 +0100 Subject: [PATCH 40/83] fix --- src/lib/i18n/locales/uk-UA/translation.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 93fb5aa90..6b2e88c2d 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -6,6 +6,7 @@ "{{ models }}": "{{ models }}", "{{user}}'s Chats": "Чати {{user}}а", "{{webUIName}} Backend Required": "Необхідно підключення бекенду {{webUIName}}", + "*Prompt node ID(s) are required for image generation": "*Для генерації зображення потрібно вказати ідентифікатор(и) вузла(ів)", "A new version (v{{LATEST_VERSION}}) is now available.": "Нова версія (v{{LATEST_VERSION}}) зараз доступна.", "A task model is used when performing tasks such as generating titles for chats and web search queries": "Модель задач використовується при виконанні таких завдань, як генерація заголовків для чатів та пошукових запитів в Інтернеті", "a user": "користувача", @@ -272,6 +273,7 @@ "Drag and drop a file to upload or select a file to view": "Перетягніть файл для завантаження або виберіть файл для перегляду", "Draw": "Малювати", "Drop any files here to add to the conversation": "Перетягніть сюди файли, щоб додати до розмови", + "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "напр., '30s','10m'. Дійсні одиниці часу: 'с', 'хв', 'г'.", "e.g. A filter to remove profanity from text": "напр., фільтр для видалення нецензурної лексики з тексту", "e.g. My Filter": "напр., Мій фільтр", "e.g. My Tools": "напр., Мої інструменти", From b4cd685795d7c97b7bdd412d1e0fe41010159a73 Mon Sep 17 00:00:00 2001 From: iamcristi Date: Fri, 22 Nov 2024 17:23:49 +0200 Subject: [PATCH 41/83] Update auths.py changed Auths.insert_new_auth for LDAP accounts. Previously setting image to "None" was causing an error. --- backend/open_webui/apps/webui/routers/auths.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/open_webui/apps/webui/routers/auths.py b/backend/open_webui/apps/webui/routers/auths.py index 9c0a6e452..5d2e257df 100644 --- a/backend/open_webui/apps/webui/routers/auths.py +++ b/backend/open_webui/apps/webui/routers/auths.py @@ -246,13 +246,13 @@ async def ldap_auth(request: Request, response: Response, form_data: LdapForm): ) user = Auths.insert_new_auth( - mail, - str(uuid.uuid4()), - cn, - None, - role, + email=mail, + password=str(uuid.uuid4()), + name=cn, + role=role ) + if not user: raise HTTPException( 500, detail=ERROR_MESSAGES.CREATE_USER_ERROR From 259881f0b68794f34ec33f3f76d64d7a57bf8dc1 Mon Sep 17 00:00:00 2001 From: Aleix Dorca Date: Fri, 22 Nov 2024 17:41:35 +0100 Subject: [PATCH 42/83] Update Catalan translation.json --- src/lib/i18n/locales/ca-ES/translation.json | 146 ++++++++++---------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index afa90f38f..b532e9ae3 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -11,9 +11,9 @@ "A task model is used when performing tasks such as generating titles for chats and web search queries": "Un model de tasca s'utilitza quan es realitzen tasques com ara generar títols per a xats i consultes de cerca per a la web", "a user": "un usuari", "About": "Sobre", - "Access": "", - "Access Control": "", - "Accessible to all users": "", + "Access": "Accés", + "Access Control": "Control d'accés", + "Accessible to all users": "Accessible a tots els usuaris", "Account": "Compte", "Account Activation Pending": "Activació del compte pendent", "Accurate information": "Informació precisa", @@ -30,14 +30,14 @@ "Add content here": "Afegir contingut aquí", "Add custom prompt": "Afegir una indicació personalitzada", "Add Files": "Afegir arxius", - "Add Group": "", + "Add Group": "Afegir grup", "Add Memory": "Afegir memòria", "Add Model": "Afegir un model", "Add Tag": "Afegir etiqueta", "Add Tags": "Afegir etiquetes", "Add text content": "Afegir contingut de text", "Add User": "Afegir un usuari", - "Add User Group": "", + "Add User Group": "Afegir grup d'usuaris", "Adjusting these settings will apply changes universally to all users.": "Si ajustes aquesta preferència, els canvis s'aplicaran de manera universal a tots els usuaris.", "admin": "administrador", "Admin": "Administrador", @@ -48,18 +48,18 @@ "Advanced Params": "Paràmetres avançats", "All chats": "Tots els xats", "All Documents": "Tots els documents", - "All models deleted successfully": "", - "Allow Chat Delete": "", + "All models deleted successfully": "Tots els models s'han eliminat correctament", + "Allow Chat Delete": "Permetre eliminar el xat", "Allow Chat Deletion": "Permetre la supressió del xat", - "Allow Chat Edit": "", - "Allow File Upload": "", + "Allow Chat Edit": "Permetre editar el xat", + "Allow File Upload": "Permetre la pujada d'arxius", "Allow non-local voices": "Permetre veus no locals", "Allow Temporary Chat": "Permetre el xat temporal", "Allow User Location": "Permetre la ubicació de l'usuari", "Allow Voice Interruption in Call": "Permetre la interrupció de la veu en una trucada", "Already have an account?": "Ja tens un compte?", "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "Alternativa al top_p, i pretén garantir un equilibri de qualitat i varietat. El paràmetre p representa la probabilitat mínima que es consideri un token, en relació amb la probabilitat del token més probable. Per exemple, amb p=0,05 i el token més probable amb una probabilitat de 0,9, es filtren els logits amb un valor inferior a 0,045. (Per defecte: 0.0)", - "Amazing": "", + "Amazing": "Al·lucinant", "an assistant": "un assistent", "and": "i", "and {{COUNT}} more": "i {{COUNT}} més", @@ -70,7 +70,7 @@ "API keys": "Claus de l'API", "Application DN": "DN d'aplicació", "Application DN Password": "Contrasenya del DN d'aplicació", - "applies to all users with the \"user\" role": "", + "applies to all users with the \"user\" role": "s'aplica a tots els usuaris amb el rol \"usuari\"", "April": "Abril", "Archive": "Arxiu", "Archive All Chats": "Arxiva tots els xats", @@ -96,7 +96,7 @@ "AUTOMATIC1111 Base URL is required.": "Es requereix l'URL Base d'AUTOMATIC1111.", "Available list": "Llista de disponibles", "available!": "disponible!", - "Awful": "", + "Awful": "Terrible", "Azure AI Speech": "Azure AI Speech", "Azure Region": "Regió d'Azure", "Back": "Enrere", @@ -109,7 +109,7 @@ "Bing Search V7 Endpoint": "Punt de connexió a Bing Search V7", "Bing Search V7 Subscription Key": "Clau de subscripció a Bing Search V7", "Brave Search API Key": "Clau API de Brave Search", - "By {{name}}": "", + "By {{name}}": "Per {{name}}", "Bypass SSL verification for Websites": "Desactivar la verificació SSL per a l'accés a Internet", "Call": "Trucada", "Call feature is not supported when using Web STT engine": "La funció de trucada no s'admet quan s'utilitza el motor Web STT", @@ -126,7 +126,7 @@ "Chat Controls": "Controls de xat", "Chat direction": "Direcció del xat", "Chat Overview": "Vista general del xat", - "Chat Permissions": "", + "Chat Permissions": "Permisos del xat", "Chat Tags Auto-Generation": "Generació automàtica d'etiquetes del xat", "Chats": "Xats", "Check Again": "Comprovar-ho de nou", @@ -157,7 +157,7 @@ "Code execution": "Execució de codi", "Code formatted successfully": "Codi formatat correctament", "Collection": "Col·lecció", - "Color": "", + "Color": "Color", "ComfyUI": "ComfyUI", "ComfyUI Base URL": "URL base de ComfyUI", "ComfyUI Base URL is required.": "L'URL base de ComfyUI és obligatòria.", @@ -191,12 +191,12 @@ "Copy Link": "Copiar l'enllaç", "Copy to clipboard": "Copiar al porta-retalls", "Copying to clipboard was successful!": "La còpia al porta-retalls s'ha realitzat correctament", - "Create": "", + "Create": "Crear", "Create a knowledge base": "Crear una base de coneixement", "Create a model": "Crear un model", "Create Account": "Crear un compte", "Create Admin Account": "Crear un compte d'Administrador", - "Create Group": "", + "Create Group": "Crear grup", "Create Knowledge": "Crear Coneixement", "Create new key": "Crear una nova clau", "Create new secret key": "Crear una nova clau secreta", @@ -215,8 +215,8 @@ "Default (SentenceTransformers)": "Per defecte (SentenceTransformers)", "Default Model": "Model per defecte", "Default model updated": "Model per defecte actualitzat", - "Default permissions": "", - "Default permissions updated successfully": "", + "Default permissions": "Permisos per defecte", + "Default permissions updated successfully": "Permisos per defecte actualitzats correctament", "Default Prompt Suggestions": "Suggeriments d'indicació per defecte", "Default to 389 or 636 if TLS is enabled": "Per defecte 389 o 636 si TLS està habilitat", "Default to ALL": "Per defecte TOTS", @@ -224,7 +224,7 @@ "Delete": "Eliminar", "Delete a model": "Eliminar un model", "Delete All Chats": "Eliminar tots els xats", - "Delete All Models": "", + "Delete All Models": "Eliminar tots els models", "Delete chat": "Eliminar xat", "Delete Chat": "Eliminar xat", "Delete chat?": "Eliminar el xat?", @@ -236,7 +236,7 @@ "Delete User": "Eliminar usuari", "Deleted {{deleteModelTag}}": "S'ha eliminat {{deleteModelTag}}", "Deleted {{name}}": "S'ha eliminat {{name}}", - "Deleted User": "", + "Deleted User": "Usuari eliminat", "Describe your knowledge base and objectives": "Descriu la teva base de coneixement i objectius", "Description": "Descripció", "Didn't fully follow instructions": "No s'han seguit les instruccions completament", @@ -251,10 +251,10 @@ "Discover, download, and explore custom tools": "Descobrir, descarregar i explorar eines personalitzades", "Discover, download, and explore model presets": "Descobrir, descarregar i explorar models preconfigurats", "Dismissible": "Descartable", - "Display": "", + "Display": "Mostrar", "Display Emoji in Call": "Mostrar emojis a la trucada", "Display the username instead of You in the Chat": "Mostrar el nom d'usuari en lloc de 'Tu' al xat", - "Displays citations in the response": "", + "Displays citations in the response": "Mostra les referències a la resposta", "Dive into knowledge": "Aprofundir en el coneixement", "Do not install functions from sources you do not fully trust.": "No instal·lis funcions de fonts en què no confiïs plenament.", "Do not install tools from sources you do not fully trust.": "No instal·lis eines de fonts en què no confiïs plenament.", @@ -270,23 +270,23 @@ "Download": "Descarregar", "Download canceled": "Descàrrega cancel·lada", "Download Database": "Descarregar la base de dades", - "Drag and drop a file to upload or select a file to view": "", + "Drag and drop a file to upload or select a file to view": "Arrossegar un arxiu per pujar o escull un arxiu a veure", "Draw": "Dibuixar", "Drop any files here to add to the conversation": "Deixa qualsevol arxiu aquí per afegir-lo a la conversa", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "p. ex. '30s','10m'. Les unitats de temps vàlides són 's', 'm', 'h'.", "e.g. A filter to remove profanity from text": "p. ex. Un filtre per eliminar paraules malsonants del text", "e.g. My Filter": "p. ex. El meu filtre", - "e.g. My Tools": "", + "e.g. My Tools": "p. ex. Les meves eines", "e.g. my_filter": "p. ex. els_meus_filtres", - "e.g. my_tools": "", - "e.g. Tools for performing various operations": "", + "e.g. my_tools": "p. ex. les_meves_eines", + "e.g. Tools for performing various operations": "p. ex. Eines per dur a terme operacions", "Edit": "Editar", "Edit Arena Model": "Editar model de l'Arena", "Edit Connection": "Editar la connexió", - "Edit Default Permissions": "", + "Edit Default Permissions": "Editar el permisos per defecte", "Edit Memory": "Editar la memòria", "Edit User": "Editar l'usuari", - "Edit User Group": "", + "Edit User Group": "Editar el grup d'usuaris", "ElevenLabs": "ElevenLabs", "Email": "Correu electrònic", "Embark on adventures": "Embarcar en aventures", @@ -294,14 +294,14 @@ "Embedding Model": "Model d'incrustació", "Embedding Model Engine": "Motor de model d'incrustació", "Embedding model set to \"{{embedding_model}}\"": "Model d'incrustació configurat a \"{{embedding_model}}\"", - "Enable API Key Auth": "", + "Enable API Key Auth": "Activar l'autenticació amb clau API", "Enable Community Sharing": "Activar l'ús compartit amb la comunitat", "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "Activar el bloqueig de memòria (mlock) per evitar que les dades del model s'intercanviïn fora de la memòria RAM. Aquesta opció bloqueja el conjunt de pàgines de treball del model a la memòria RAM, assegurant-se que no s'intercanviaran al disc. Això pot ajudar a mantenir el rendiment evitant errors de pàgina i garantint un accés ràpid a les dades.", "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "Activar l'assignació de memòria (mmap) per carregar les dades del model. Aquesta opció permet que el sistema utilitzi l'emmagatzematge en disc com a extensió de la memòria RAM tractant els fitxers de disc com si estiguessin a la memòria RAM. Això pot millorar el rendiment del model permetent un accés més ràpid a les dades. Tanmateix, és possible que no funcioni correctament amb tots els sistemes i pot consumir una quantitat important d'espai en disc.", "Enable Message Rating": "Permetre la qualificació de missatges", "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "Activar el mostreig de Mirostat per controlar la perplexitat. (Per defecte: 0, 0 = Inhabilitat, 1 = Mirostat, 2 = Mirostat 2.0)", "Enable New Sign Ups": "Permetre nous registres", - "Enable Retrieval Query Generation": "", + "Enable Retrieval Query Generation": "Activar la Retrieval Query Generation", "Enable Tags Generation": "Activar la generació d'etiquetes", "Enable Web Search": "Activar la cerca web", "Enable Web Search Query Generation": "Activa la generació de consultes de cerca web", @@ -329,7 +329,7 @@ "Enter language codes": "Introdueix els codis de llenguatge", "Enter Model ID": "Introdueix l'identificador del model", "Enter model tag (e.g. {{modelTag}})": "Introdueix l'etiqueta del model (p. ex. {{modelTag}})", - "Enter Mojeek Search API Key": "", + "Enter Mojeek Search API Key": "Introdueix la clau API de Mojeek Search", "Enter Number of Steps (e.g. 50)": "Introdueix el nombre de passos (p. ex. 50)", "Enter Sampler (e.g. Euler a)": "Introdueix el mostrejador (p.ex. Euler a)", "Enter Scheduler (e.g. Karras)": "Entra el programador (p.ex. Karras)", @@ -375,7 +375,7 @@ "Export Config to JSON File": "Exportar la configuració a un arxiu JSON", "Export Functions": "Exportar funcions", "Export Models": "Exportar els models", - "Export Presets": "", + "Export Presets": "Exportar les configuracions", "Export Prompts": "Exportar les indicacions", "Export to CSV": "Exportar a CSV", "Export Tools": "Exportar les eines", @@ -436,11 +436,11 @@ "Good Response": "Bona resposta", "Google PSE API Key": "Clau API PSE de Google", "Google PSE Engine Id": "Identificador del motor PSE de Google", - "Group created successfully": "", - "Group deleted successfully": "", - "Group Description": "", - "Group Name": "", - "Group updated successfully": "", + "Group created successfully": "El grup s'ha creat correctament", + "Group deleted successfully": "El grup s'ha eliminat correctament", + "Group Description": "Descripció del grup", + "Group Name": "Nom del grup", + "Group updated successfully": "Grup actualitzat correctament", "Groups": "Grups", "h:mm a": "h:mm a", "Haptic Feedback": "Retorn hàptic", @@ -448,12 +448,12 @@ "Hello, {{name}}": "Hola, {{name}}", "Help": "Ajuda", "Help us create the best community leaderboard by sharing your feedback history!": "Ajuda'ns a crear la millor taula de classificació de la comunitat compartint el teu historial de comentaris!", - "Hex Color": "", - "Hex Color - Leave empty for default color": "", + "Hex Color": "Color hexadecimal", + "Hex Color - Leave empty for default color": "Color hexadecimal - Deixar buit per a color per defecte", "Hide": "Amaga", "Host": "Servidor", "How can I help you today?": "Com et puc ajudar avui?", - "How would you rate this response?": "", + "How would you rate this response?": "Com avaluaries aquesta resposta?", "Hybrid Search": "Cerca híbrida", "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Afirmo que he llegit i entenc les implicacions de la meva acció. Soc conscient dels riscos associats a l'execució de codi arbitrari i he verificat la fiabilitat de la font.", "ID": "ID", @@ -466,7 +466,7 @@ "Import Config from JSON File": "Importar la configuració des d'un arxiu JSON", "Import Functions": "Importar funcions", "Import Models": "Importar models", - "Import Presets": "", + "Import Presets": "Importar configuracions", "Import Prompts": "Importar indicacions", "Import Tools": "Importar eines", "Include": "Incloure", @@ -493,7 +493,7 @@ "Key": "Clau", "Keyboard shortcuts": "Dreceres de teclat", "Knowledge": "Coneixement", - "Knowledge Access": "", + "Knowledge Access": "Accés al coneixement", "Knowledge created successfully.": "Coneixement creat correctament.", "Knowledge deleted successfully.": "Coneixement eliminat correctament.", "Knowledge reset successfully.": "Coneixement restablert correctament.", @@ -523,7 +523,7 @@ "Make sure to export a workflow.json file as API format from ComfyUI.": "Assegura't d'exportar un fitxer workflow.json com a format API des de ComfyUI.", "Manage": "Gestionar", "Manage Arena Models": "Gestionar els models de l'Arena", - "Manage Ollama": "", + "Manage Ollama": "Gestionar Ollama", "Manage Ollama API Connections": "Gestionar les connexions a l'API d'Ollama", "Manage OpenAI API Connections": "Gestionar les connexions a l'API d'OpenAI", "Manage Pipelines": "Gestionar les Pipelines", @@ -559,18 +559,18 @@ "Model accepts image inputs": "El model accepta entrades d'imatge", "Model created successfully!": "Model creat correctament", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "S'ha detectat el camí del sistema de fitxers del model. És necessari un nom curt del model per actualitzar, no es pot continuar.", - "Model Filtering": "", + "Model Filtering": "Filtrat de models", "Model ID": "Identificador del model", "Model IDs": "Identificadors del model", "Model Name": "Nom del model", "Model not selected": "Model no seleccionat", "Model Params": "Paràmetres del model", - "Model Permissions": "", + "Model Permissions": "Permisos dels models", "Model updated successfully": "Model actualitzat correctament", "Modelfile Content": "Contingut del Modelfile", "Models": "Models", - "Models Access": "", - "Mojeek Search API Key": "", + "Models Access": "Accés als models", + "Mojeek Search API Key": "Clau API de Mojeek Search", "more": "més", "More": "Més", "Name": "Nom", @@ -584,15 +584,15 @@ "No feedbacks found": "No s'han trobat comentaris", "No file selected": "No s'ha escollit cap fitxer", "No files found.": "No s'han trobat arxius.", - "No groups with access, add a group to grant access": "", + "No groups with access, add a group to grant access": "No hi ha cap grup amb accés, afegeix un grup per concedir accés", "No HTML, CSS, or JavaScript content found.": "No s'ha trobat contingut HTML, CSS o JavaScript.", "No knowledge found": "No s'ha trobat Coneixement", - "No model IDs": "", + "No model IDs": "No hi ha IDs de model", "No models found": "No s'han trobat models", "No results found": "No s'han trobat resultats", "No search query generated": "No s'ha generat cap consulta", "No source available": "Sense font disponible", - "No users were found.": "", + "No users were found.": "No s'han trobat usuaris", "No valves to update": "No hi ha cap Valve per actualitzar", "None": "Cap", "Not factually correct": "No és clarament correcte", @@ -617,7 +617,7 @@ "Only alphanumeric characters and hyphens are allowed": "Només es permeten caràcters alfanumèrics i guions", "Only alphanumeric characters and hyphens are allowed in the command string.": "Només es permeten caràcters alfanumèrics i guions en la comanda.", "Only collections can be edited, create a new knowledge base to edit/add documents.": "Només es poden editar col·leccions, crea una nova base de coneixement per editar/afegir documents.", - "Only select users and groups with permission can access": "", + "Only select users and groups with permission can access": "Només hi poden accedir usuaris i grups seleccionats amb permís", "Oops! Looks like the URL is invalid. Please double-check and try again.": "Ui! Sembla que l'URL no és vàlida. Si us plau, revisa-la i torna-ho a provar.", "Oops! There are files still uploading. Please wait for the upload to complete.": "Ui! Encara hi ha fitxers pujant-se. Si us plau, espera que finalitzi la càrrega.", "Oops! There was an error in the previous response.": "Ui! Hi ha hagut un error a la resposta anterior.", @@ -635,21 +635,21 @@ "OpenAI API settings updated": "Configuració de l'API d'OpenAI actualitzada", "OpenAI URL/Key required.": "URL/Clau d'OpenAI requerides.", "or": "o", - "Organize your users": "", + "Organize your users": "Organitza els teus usuaris", "Other": "Altres", "OUTPUT": "SORTIDA", "Output format": "Format de sortida", "Overview": "Vista general", "page": "pàgina", "Password": "Contrasenya", - "Paste Large Text as File": "", + "Paste Large Text as File": "Enganxa un text llarg com a fitxer", "PDF document (.pdf)": "Document PDF (.pdf)", "PDF Extract Images (OCR)": "Extreu imatges del PDF (OCR)", "pending": "pendent", "Permission denied when accessing media devices": "Permís denegat en accedir a dispositius multimèdia", "Permission denied when accessing microphone": "Permís denegat en accedir al micròfon", "Permission denied when accessing microphone: {{error}}": "Permís denegat en accedir al micròfon: {{error}}", - "Permissions": "", + "Permissions": "Permisos", "Personalization": "Personalització", "Pin": "Fixar", "Pinned": "Fixat", @@ -674,14 +674,14 @@ "Profile Image": "Imatge de perfil", "Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Indicació (p.ex. Digues-me quelcom divertit sobre l'Imperi Romà)", "Prompt Content": "Contingut de la indicació", - "Prompt created successfully": "", + "Prompt created successfully": "Indicació creada correctament", "Prompt suggestions": "Suggeriments d'indicacions", - "Prompt updated successfully": "", + "Prompt updated successfully": "Indicació actualitzada correctament", "Prompts": "Indicacions", - "Prompts Access": "", + "Prompts Access": "Accés a les indicacions", "Pull \"{{searchValue}}\" from Ollama.com": "Obtenir \"{{searchValue}}\" de Ollama.com", "Pull a model from Ollama.com": "Obtenir un model d'Ollama.com", - "Query Generation Prompt": "", + "Query Generation Prompt": "Indicació per a generació de consulta", "Query Params": "Paràmetres de consulta", "RAG Template": "Plantilla RAG", "Rating": "Valoració", @@ -755,7 +755,7 @@ "Select a base model": "Seleccionar un model base", "Select a engine": "Seleccionar un motor", "Select a function": "Seleccionar una funció", - "Select a group": "", + "Select a group": "Seleccionar un grup", "Select a model": "Seleccionar un model", "Select a pipeline": "Seleccionar una Pipeline", "Select a pipeline url": "Seleccionar l'URL d'una Pipeline", @@ -778,7 +778,7 @@ "Set as default": "Establir com a predeterminat", "Set CFG Scale": "Establir l'escala CFG", "Set Default Model": "Establir el model predeterminat", - "Set embedding model": "", + "Set embedding model": "Establir el model d'incrustació", "Set embedding model (e.g. {{model}})": "Establir el model d'incrustació (p.ex. {{model}})", "Set Image Size": "Establir la mida de la image", "Set reranking model (e.g. {{model}})": "Establir el model de reavaluació (p.ex. {{model}})", @@ -866,8 +866,8 @@ "This response was generated by \"{{model}}\"": "Aquesta resposta l'ha generat el model \"{{model}}\"", "This will delete": "Això eliminarà", "This will delete {{NAME}} and all its contents.": "Això eliminarà {{NAME}} i tots els continguts.", - "This will delete all models including custom models": "", - "This will delete all models including custom models and cannot be undone.": "", + "This will delete all models including custom models": "Això eliminarà tots els models incloent els personalitzats", + "This will delete all models including custom models and cannot be undone.": "Això eliminarà tots els models incloent els personalitzats i no es pot desfer", "This will reset the knowledge base and sync all files. Do you wish to continue?": "Això restablirà la base de coneixement i sincronitzarà tots els fitxers. Vols continuar?", "Thorough explanation": "Explicació en detall", "Tika": "Tika", @@ -897,13 +897,13 @@ "Too verbose": "Massa explicit", "Tool created successfully": "Eina creada correctament", "Tool deleted successfully": "Eina eliminada correctament", - "Tool Description": "", - "Tool ID": "", + "Tool Description": "Descripció de l'eina", + "Tool ID": "ID de l'eina", "Tool imported successfully": "Eina importada correctament", - "Tool Name": "", + "Tool Name": "Nom de l'eina", "Tool updated successfully": "Eina actualitzada correctament", "Tools": "Eines", - "Tools Access": "", + "Tools Access": "Accés a les eines", "Tools are a function calling system with arbitrary code execution": "Les eines són un sistema de crida a funcions amb execució de codi arbitrari", "Tools have a function calling system that allows arbitrary code execution": "Les eines disposen d'un sistema de crida a funcions que permet execució de codi arbitrari", "Tools have a function calling system that allows arbitrary code execution.": "Les eines disposen d'un sistema de crida a funcions que permet execució de codi arbitrari.", @@ -943,7 +943,7 @@ "URL Mode": "Mode URL", "Use '#' in the prompt input to load and include your knowledge.": "Utilitza '#' a l'entrada de la indicació per carregar i incloure els teus coneixements.", "Use Gravatar": "Utilitzar Gravatar", - "Use groups to group your users and assign permissions.": "", + "Use groups to group your users and assign permissions.": "Utilitza grups per agrupar els usuaris i assignar permisos.", "Use Initials": "Utilitzar inicials", "use_mlock (Ollama)": "use_mlock (Ollama)", "use_mmap (Ollama)": "use_mmap (Ollama)", @@ -962,12 +962,12 @@ "variable to have them replaced with clipboard content.": "variable per tenir-les reemplaçades amb el contingut del porta-retalls.", "Version": "Versió", "Version {{selectedVersion}} of {{totalVersions}}": "Versió {{selectedVersion}} de {{totalVersions}}", - "Visibility": "", + "Visibility": "Visibilitat", "Voice": "Veu", "Voice Input": "Entrada de veu", "Warning": "Avís", "Warning:": "Avís:", - "Warning: Enabling this will allow users to upload arbitrary code on the server.": "", + "Warning: Enabling this will allow users to upload arbitrary code on the server.": "Avís: Habilitar això permetrà als usuaris penjar codi arbitrari al servidor.", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Avís: Si s'actualitza o es canvia el model d'incrustació, s'hauran de tornar a importar tots els documents.", "Web": "Web", "Web API": "Web API", @@ -984,12 +984,12 @@ "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "Quan està activat, el model respondrà a cada missatge de xat en temps real, generant una resposta tan bon punt l'usuari envia un missatge. Aquest mode és útil per a aplicacions de xat en directe, però pot afectar el rendiment en maquinari més lent.", "wherever you are": "allà on estiguis", "Whisper (Local)": "Whisper (local)", - "Why?": "", + "Why?": "Per què?", "Widescreen Mode": "Mode de pantalla ampla", "Won": "Ha guanyat", "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "Funciona juntament amb top-k. Un valor més alt (p. ex., 0,95) donarà lloc a un text més divers, mentre que un valor més baix (p. ex., 0,5) generarà un text més concentrat i conservador. (Per defecte: 0,9)", "Workspace": "Espai de treball", - "Workspace Permissions": "", + "Workspace Permissions": "Permisos de l'espai de treball", "Write a prompt suggestion (e.g. Who are you?)": "Escriu una suggerència d'indicació (p. ex. Qui ets?)", "Write a summary in 50 words that summarizes [topic or keyword].": "Escriu un resum en 50 paraules que resumeixi [tema o paraula clau].", "Write something...": "Escriu quelcom...", @@ -999,7 +999,7 @@ "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Només pots xatejar amb un màxim de {{maxCount}} fitxers alhora.", "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Pots personalitzar les teves interaccions amb els models de llenguatge afegint memòries mitjançant el botó 'Gestiona' que hi ha a continuació, fent-les més útils i adaptades a tu.", "You cannot upload an empty file.": "No es pot pujar un ariux buit.", - "You do not have permission to upload files.": "", + "You do not have permission to upload files.": "No tens permisos per pujar arxius.", "You have no archived conversations.": "No tens converses arxivades.", "You have shared this chat": "Has compartit aquest xat", "You're a helpful assistant.": "Ets un assistent útil.", From 35d75e733d30ef004ea74f0a421a541a0f17f55a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 10:35:59 -0800 Subject: [PATCH 43/83] refac: file handling --- backend/open_webui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 797c9622a..3aa3c5559 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -698,12 +698,13 @@ class ChatCompletionMiddleware(BaseHTTPMiddleware): if "document" in source: for doc_idx, doc_context in enumerate(source["document"]): metadata = source.get("metadata") + doc_source_id = None if metadata: doc_source_id = metadata[doc_idx].get("source", source_id) if source_id: - context_string += f"{doc_source_id}{doc_context}\n" + context_string += f"{doc_source_id if doc_source_id is not None else source_id}{doc_context}\n" else: # If there is no source_id, then do not include the source_id tag context_string += f"{doc_context}\n" From 1c3bc99b86ef35476b803a63b334ff85b4b622cb Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 10:49:30 -0800 Subject: [PATCH 44/83] refac: accept legacy 'citation' type --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 0ef11313e..68f6023d7 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -216,7 +216,7 @@ } else { message.statusHistory = [data]; } - } else if (type === 'source') { + } else if (type === 'source' || type === 'citation') { if (data?.type === 'code_execution') { // Code execution; update existing code execution by ID, or add new one. if (!message?.code_executions) { From 3cfd4f89934634f8a656e6cf2c35637d4755b708 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 11:21:53 -0800 Subject: [PATCH 45/83] fix: controls not being shown in mobile --- src/lib/components/layout/Navbar.svelte | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte index d7662469e..b5cbb02a2 100644 --- a/src/lib/components/layout/Navbar.svelte +++ b/src/lib/components/layout/Navbar.svelte @@ -115,6 +115,20 @@
+ {:else if $mobile} + + + {/if} {#if !$mobile} From 429fa2befa2ec97b1fc4fffaeefeb4e08fb4287c Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 12:31:06 -0800 Subject: [PATCH 46/83] fix: query generation --- backend/open_webui/main.py | 51 +++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 3aa3c5559..b11374204 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -515,32 +515,32 @@ async def chat_completion_files_handler( ) -> tuple[dict, dict[str, list]]: sources = [] - try: - queries_response = await generate_queries( - { - "model": body["model"], - "messages": body["messages"], - "type": "retrieval", - }, - user, - ) - queries_response = queries_response["choices"][0]["message"]["content"] - - try: - queries_response = json.loads(queries_response) - except Exception as e: - queries_response = {"queries": []} - - queries = queries_response.get("queries", []) - except Exception as e: - queries = [] - - if len(queries) == 0: - queries = [get_last_user_message(body["messages"])] - - print(f"{queries=}") - if files := body.get("metadata", {}).get("files", None): + try: + queries_response = await generate_queries( + { + "model": body["model"], + "messages": body["messages"], + "type": "retrieval", + }, + user, + ) + queries_response = queries_response["choices"][0]["message"]["content"] + + try: + queries_response = json.loads(queries_response) + except Exception as e: + queries_response = {"queries": []} + + queries = queries_response.get("queries", []) + except Exception as e: + queries = [] + + if len(queries) == 0: + queries = [get_last_user_message(body["messages"])] + + print(f"{queries=}") + sources = get_sources_from_files( files=files, queries=queries, @@ -691,6 +691,7 @@ class ChatCompletionMiddleware(BaseHTTPMiddleware): # If context is not empty, insert it into the messages if len(sources) > 0: + print("\n\n\n\n\n\n\nHI\n\n\n\n\n\n") context_string = "" for source_idx, source in enumerate(sources): source_id = source.get("source", {}).get("name", "") From c4eacbfc0f456d7a5a54ee35b7b916d4da2a80d8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 12:39:08 -0800 Subject: [PATCH 47/83] refac: rm print statement --- backend/open_webui/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index b11374204..cfa13e0a5 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -691,7 +691,6 @@ class ChatCompletionMiddleware(BaseHTTPMiddleware): # If context is not empty, insert it into the messages if len(sources) > 0: - print("\n\n\n\n\n\n\nHI\n\n\n\n\n\n") context_string = "" for source_idx, source in enumerate(sources): source_id = source.get("source", {}).get("name", "") From b4e7957a007ef43e07293e096a429070282ecb81 Mon Sep 17 00:00:00 2001 From: Michael Poluektov Date: Fri, 22 Nov 2024 20:51:16 +0000 Subject: [PATCH 48/83] docstring quickfix --- backend/open_webui/utils/tools.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 2c6d53e3b..3cdcf15bf 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -109,9 +109,12 @@ def parse_docstring(docstring): for line in docstring.splitlines(): match = param_pattern.match(line.strip()) - if match: - param_name, param_description = match.groups() - param_descriptions[param_name] = param_description + if not match: + continue + param_name, param_description = match.groups() + if param_name.startswith("__"): + continue + param_descriptions[param_name] = param_description return param_descriptions From cede8a966f0ea82549c463c89e764df5359a696e Mon Sep 17 00:00:00 2001 From: Jonathan Date: Sat, 23 Nov 2024 01:17:22 +0100 Subject: [PATCH 49/83] add missing translations and fix existing ones --- src/lib/i18n/locales/de-DE/translation.json | 402 ++++++++++---------- 1 file changed, 201 insertions(+), 201 deletions(-) diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index ebf9c3e19..cfc2c1a39 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -11,33 +11,33 @@ "A task model is used when performing tasks such as generating titles for chats and web search queries": "Aufgabenmodelle können Unterhaltungstitel oder Websuchanfragen generieren.", "a user": "ein Benutzer", "About": "Über", - "Access": "", - "Access Control": "", - "Accessible to all users": "", + "Access": "Zugang", + "Access Control": "Zugangskontrolle", + "Accessible to all users": "Für alle Benutzer zugänglich", "Account": "Konto", "Account Activation Pending": "Kontoaktivierung ausstehend", "Accurate information": "Präzise Information(en)", "Actions": "Aktionen", - "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "", + "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "Aktivieren Sie diesen Befehl, indem Sie \"/{{COMMAND}}\" in die Chat-Eingabe eingeben.", "Active Users": "Aktive Benutzer", "Add": "Hinzufügen", - "Add a model ID": "", + "Add a model ID": "Modell-ID hinzufügen", "Add a short description about what this model does": "Fügen Sie eine kurze Beschreibung über dieses Modell hinzu", "Add a tag": "Tag hinzufügen", "Add Arena Model": "Arena-Modell hinzufügen", - "Add Connection": "", + "Add Connection": "Verbindung hinzufügen", "Add Content": "Inhalt hinzufügen", "Add content here": "Inhalt hier hinzufügen", "Add custom prompt": "Benutzerdefinierten Prompt hinzufügen", "Add Files": "Dateien hinzufügen", - "Add Group": "", + "Add Group": "Gruppe hinzufügen", "Add Memory": "Erinnerung hinzufügen", "Add Model": "Modell hinzufügen", "Add Tag": "Tag hinzufügen", "Add Tags": "Tags hinzufügen", "Add text content": "Textinhalt hinzufügen", "Add User": "Benutzer hinzufügen", - "Add User Group": "", + "Add User Group": "Benutzergruppe hinzufügen", "Adjusting these settings will apply changes universally to all users.": "Das Anpassen dieser Einstellungen wird Änderungen universell auf alle Benutzer anwenden.", "admin": "Administrator", "Admin": "Administrator", @@ -48,18 +48,18 @@ "Advanced Params": "Erweiterte Parameter", "All chats": "Alle Unterhaltungen", "All Documents": "Alle Dokumente", - "All models deleted successfully": "", - "Allow Chat Delete": "", + "All models deleted successfully": "Alle Modelle erfolgreich gelöscht", + "Allow Chat Delete": "Löschen von Unterhaltungen erlauben", "Allow Chat Deletion": "Löschen von Unterhaltungen erlauben", - "Allow Chat Edit": "", - "Allow File Upload": "", + "Allow Chat Edit": "Bearbeiten von Unterhaltungen erlauben", + "Allow File Upload": "Hochladen von Dateien erlauben", "Allow non-local voices": "Nicht-lokale Stimmen erlauben", "Allow Temporary Chat": "Temporäre Unterhaltungen erlauben", "Allow User Location": "Standort freigeben", "Allow Voice Interruption in Call": "Unterbrechung durch Stimme im Anruf zulassen", "Already have an account?": "Haben Sie bereits einen Account?", - "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "", - "Amazing": "", + "Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token. For example, with p=0.05 and the most likely token having a probability of 0.9, logits with a value less than 0.045 are filtered out. (Default: 0.0)": "Alternative zu top_p und zielt darauf ab, ein Gleichgewicht zwischen Qualität und Vielfalt zu gewährleisten. Der Parameter p repräsentiert die Mindestwahrscheinlichkeit für ein Token, um berücksichtigt zu werden, relativ zur Wahrscheinlichkeit des wahrscheinlichsten Tokens. Zum Beispiel, bei p=0.05 und das wahrscheinlichste Token hat eine Wahrscheinlichkeit von 0.9, werden Logits mit einem Wert von weniger als 0.045 herausgefiltert. (Standard: 0.0)", + "Amazing": "Fantastisch", "an assistant": "ein Assistent", "and": "und", "and {{COUNT}} more": "und {{COUNT}} mehr", @@ -68,15 +68,15 @@ "API Key": "API-Schlüssel", "API Key created.": "API-Schlüssel erstellt.", "API keys": "API-Schlüssel", - "Application DN": "", - "Application DN Password": "", - "applies to all users with the \"user\" role": "", + "Application DN": "Anwendungs-DN", + "Application DN Password": "Anwendungs-DN-Passwort", + "applies to all users with the \"user\" role": "gilt für alle Benutzer mit der Rolle \"Benutzer\"", "April": "April", "Archive": "Archivieren", "Archive All Chats": "Alle Unterhaltungen archivieren", "Archived Chats": "Archivierte Unterhaltungen", - "archived-chat-export": "", - "Are you sure you want to unarchive all archived chats?": "", + "archived-chat-export": "archivierter-chat-export", + "Are you sure you want to unarchive all archived chats?": "Sind Sie sicher, dass Sie alle archivierten Unterhaltungen wiederherstellen möchten?", "Are you sure?": "Sind Sie sicher?", "Arena Models": "Arena-Modelle", "Artifacts": "Artefakte", @@ -84,10 +84,10 @@ "Assistant": "Assistent", "Attach file": "Datei anhängen", "Attention to detail": "Aufmerksamkeit für Details", - "Attribute for Username": "", + "Attribute for Username": "Attribut für Benutzername", "Audio": "Audio", "August": "August", - "Authenticate": "", + "Authenticate": "Authentifizieren", "Auto-Copy Response to Clipboard": "Antwort automatisch in die Zwischenablage kopieren", "Auto-playback response": "Antwort automatisch abspielen", "Automatic1111": "Automatic1111", @@ -96,7 +96,7 @@ "AUTOMATIC1111 Base URL is required.": "AUTOMATIC1111-Basis-URL ist erforderlich.", "Available list": "Verfügbare Liste", "available!": "Verfügbar!", - "Awful": "", + "Awful": "Schrecklich", "Azure AI Speech": "Azure AI Speech", "Azure Region": "Azure-Region", "Back": "Zurück", @@ -106,27 +106,27 @@ "Batch Size (num_batch)": "Stapelgröße (num_batch)", "before": "bereits geteilt", "Being lazy": "Faulheit", - "Bing Search V7 Endpoint": "", - "Bing Search V7 Subscription Key": "", + "Bing Search V7 Endpoint": "Bing Search V7-Endpunkt", + "Bing Search V7 Subscription Key": "Bing Search V7-Abonnement-Schlüssel", "Brave Search API Key": "Brave Search API-Schlüssel", - "By {{name}}": "", + "By {{name}}": "Von {{name}}", "Bypass SSL verification for Websites": "SSL-Überprüfung für Webseiten umgehen", "Call": "Anrufen", "Call feature is not supported when using Web STT engine": "Die Anruffunktion wird nicht unterstützt, wenn die Web-STT-Engine verwendet wird.", "Camera": "Kamera", "Cancel": "Abbrechen", "Capabilities": "Fähigkeiten", - "Certificate Path": "", + "Certificate Path": "Zertifikatpfad", "Change Password": "Passwort ändern", "Character": "Zeichen", - "Chart new frontiers": "", + "Chart new frontiers": "Neue Wege beschreiten", "Chat": "Gespräch", "Chat Background Image": "Hintergrundbild des Unterhaltungsfensters", "Chat Bubble UI": "Chat Bubble UI", "Chat Controls": "Chat-Steuerung", "Chat direction": "Textrichtung", "Chat Overview": "Unterhaltungsübersicht", - "Chat Permissions": "", + "Chat Permissions": "Unterhaltungsberechtigungen", "Chat Tags Auto-Generation": "Automatische Generierung von Unterhaltungstags", "Chats": "Unterhaltungen", "Check Again": "Erneut überprüfen", @@ -136,11 +136,11 @@ "Chunk Overlap": "Blocküberlappung", "Chunk Params": "Blockparameter", "Chunk Size": "Blockgröße", - "Ciphers": "", + "Ciphers": "Verschlüsselungen", "Citation": "Zitate", "Clear memory": "Alle Erinnerungen entfernen", - "click here": "", - "Click here for filter guides.": "", + "click here": "hier klicken", + "Click here for filter guides.": "Klicken Sie hier für Filteranleitungen.", "Click here for help.": "Klicken Sie hier für Hilfe.", "Click here to": "Klicken Sie hier, um", "Click here to download user import template file.": "Klicken Sie hier, um die Vorlage für den Benutzerimport herunterzuladen.", @@ -157,7 +157,7 @@ "Code execution": "Codeausführung", "Code formatted successfully": "Code erfolgreich formatiert", "Collection": "Kollektion", - "Color": "", + "Color": "Farbe", "ComfyUI": "ComfyUI", "ComfyUI Base URL": "ComfyUI-Basis-URL", "ComfyUI Base URL is required.": "ComfyUI-Basis-URL wird benötigt.", @@ -166,7 +166,7 @@ "Command": "Befehl", "Completions": "Vervollständigungen", "Concurrent Requests": "Anzahl gleichzeitiger Anfragen", - "Configure": "", + "Configure": "Konfigurieren", "Confirm": "Bestätigen", "Confirm Password": "Passwort bestätigen", "Confirm your action": "Bestätigen Sie Ihre Aktion.", @@ -177,11 +177,11 @@ "Context Length": "Kontextlänge", "Continue Response": "Antwort fortsetzen", "Continue with {{provider}}": "Mit {{provider}} fortfahren", - "Continue with Email": "", - "Continue with LDAP": "", + "Continue with Email": "Mit Email fortfahren", + "Continue with LDAP": "Mit LDAP fortfahren", "Control how message text is split for TTS requests. 'Punctuation' splits into sentences, 'paragraphs' splits into paragraphs, and 'none' keeps the message as a single string.": "Kontrollieren Sie, wie Nachrichtentext für TTS-Anfragen aufgeteilt wird. 'Punctuation' teilt in Sätze auf, 'paragraphs' teilt in Absätze auf und 'none' behält die Nachricht als einzelnen String.", "Controls": "Steuerung", - "Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text. (Default: 5.0)": "", + "Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text. (Default: 5.0)": "Kontrolliert das Gleichgewicht zwischen Kohärenz und Vielfalt des Ausgabetextes. Ein niedrigerer Wert führt zu fokussierterem und kohärenterem Text. (Standard: 5.0)", "Copied": "Kopiert", "Copied shared chat URL to clipboard!": "Freigabelink in die Zwischenablage kopiert!", "Copied to clipboard": "In die Zwischenablage kopiert", @@ -191,12 +191,12 @@ "Copy Link": "Link kopieren", "Copy to clipboard": "In die Zwischenablage kopieren", "Copying to clipboard was successful!": "Das Kopieren in die Zwischenablage war erfolgreich!", - "Create": "", - "Create a knowledge base": "", - "Create a model": "Ein Modell erstellen", + "Create": "Erstellen", + "Create a knowledge base": "Wissensspeicher erstellen", + "Create a model": "Modell erstellen", "Create Account": "Konto erstellen", - "Create Admin Account": "", - "Create Group": "", + "Create Admin Account": "Administrator-Account erstellen", + "Create Group": "Gruppe erstellen", "Create Knowledge": "Wissen erstellen", "Create new key": "Neuen Schlüssel erstellen", "Create new secret key": "Neuen API-Schlüssel erstellen", @@ -215,16 +215,16 @@ "Default (SentenceTransformers)": "Standard (SentenceTransformers)", "Default Model": "Standardmodell", "Default model updated": "Standardmodell aktualisiert", - "Default permissions": "", - "Default permissions updated successfully": "", + "Default permissions": "Standardberechtigungen", + "Default permissions updated successfully": "Standardberechtigungen erfolgreich aktualisiert", "Default Prompt Suggestions": "Prompt-Vorschläge", - "Default to 389 or 636 if TLS is enabled": "", - "Default to ALL": "", + "Default to 389 or 636 if TLS is enabled": "Standardmäßig auf 389 oder 636 setzen, wenn TLS aktiviert ist", + "Default to ALL": "Standardmäßig auf ALLE setzen", "Default User Role": "Standardbenutzerrolle", "Delete": "Löschen", "Delete a model": "Ein Modell löschen", "Delete All Chats": "Alle Unterhaltungen löschen", - "Delete All Models": "", + "Delete All Models": "Alle Modelle löschen", "Delete chat": "Unterhaltung löschen", "Delete Chat": "Unterhaltung löschen", "Delete chat?": "Unterhaltung löschen?", @@ -236,8 +236,8 @@ "Delete User": "Benutzer löschen", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} gelöscht", "Deleted {{name}}": "{{name}} gelöscht", - "Deleted User": "", - "Describe your knowledge base and objectives": "", + "Deleted User": "Benutzer gelöscht", + "Describe your knowledge base and objectives": "Beschreibe deinen Wissensspeicher und deine Ziele", "Description": "Beschreibung", "Didn't fully follow instructions": "Nicht genau den Answeisungen gefolgt", "Disabled": "Deaktiviert", @@ -245,17 +245,17 @@ "Discover a model": "Entdecken Sie weitere Modelle", "Discover a prompt": "Entdecken Sie weitere Prompts", "Discover a tool": "Entdecken Sie weitere Werkzeuge", - "Discover wonders": "", + "Discover wonders": "Entdecken Sie Wunder", "Discover, download, and explore custom functions": "Entdecken und beziehen Sie benutzerdefinierte Funktionen", "Discover, download, and explore custom prompts": "Entdecken und beziehen Sie benutzerdefinierte Prompts", "Discover, download, and explore custom tools": "Entdecken und beziehen Sie benutzerdefinierte Werkzeuge", "Discover, download, and explore model presets": "Entdecken und beziehen Sie benutzerdefinierte Modellvorlagen", "Dismissible": "ausblendbar", - "Display": "", + "Display": "Anzeigen", "Display Emoji in Call": "Emojis im Anruf anzeigen", "Display the username instead of You in the Chat": "Soll \"Sie\" durch Ihren Benutzernamen ersetzt werden?", - "Displays citations in the response": "", - "Dive into knowledge": "", + "Displays citations in the response": "Zeigt Zitate in der Antwort an", + "Dive into knowledge": "Tauchen Sie in das Wissen ein", "Do not install functions from sources you do not fully trust.": "Installieren Sie keine Funktionen aus Quellen, denen Sie nicht vollständig vertrauen.", "Do not install tools from sources you do not fully trust.": "Installieren Sie keine Werkzeuge aus Quellen, denen Sie nicht vollständig vertrauen.", "Document": "Dokument", @@ -270,39 +270,39 @@ "Download": "Exportieren", "Download canceled": "Exportierung abgebrochen", "Download Database": "Datenbank exportieren", - "Drag and drop a file to upload or select a file to view": "", + "Drag and drop a file to upload or select a file to view": "Ziehen Sie eine Datei zum Hochladen oder wählen Sie eine Datei zum Anzeigen aus", "Draw": "Zeichnen", "Drop any files here to add to the conversation": "Ziehen Sie beliebige Dateien hierher, um sie der Unterhaltung hinzuzufügen", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "z. B. '30s','10m'. Gültige Zeiteinheiten sind 's', 'm', 'h'.", - "e.g. A filter to remove profanity from text": "", - "e.g. My Filter": "", - "e.g. My Tools": "", - "e.g. my_filter": "", - "e.g. my_tools": "", - "e.g. Tools for performing various operations": "", + "e.g. A filter to remove profanity from text": "z. B. Ein Filter, um Schimpfwörter aus Text zu entfernen", + "e.g. My Filter": "z. B. Mein Filter", + "e.g. My Tools": "z. B. Meine Werkzeuge", + "e.g. my_filter": "z. B. mein_filter", + "e.g. my_tools": "z. B. meine_werkzeuge", + "e.g. Tools for performing various operations": "z. B. Werkzeuge für verschiedene Operationen", "Edit": "Bearbeiten", "Edit Arena Model": "Arena-Modell bearbeiten", - "Edit Connection": "", - "Edit Default Permissions": "", + "Edit Connection": "Verbindung bearbeiten", + "Edit Default Permissions": "Standardberechtigungen bearbeiten", "Edit Memory": "Erinnerungen bearbeiten", "Edit User": "Benutzer bearbeiten", - "Edit User Group": "", + "Edit User Group": "Benutzergruppe bearbeiten", "ElevenLabs": "ElevenLabs", "Email": "E-Mail", - "Embark on adventures": "", + "Embark on adventures": "Abenteuer erleben", "Embedding Batch Size": "Embedding-Stapelgröße", "Embedding Model": "Embedding-Modell", "Embedding Model Engine": "Embedding-Modell-Engine", "Embedding model set to \"{{embedding_model}}\"": "Embedding-Modell auf \"{{embedding_model}}\" gesetzt", - "Enable API Key Auth": "", + "Enable API Key Auth": "API-Schlüssel-Authentifizierung aktivieren", "Enable Community Sharing": "Community-Freigabe aktivieren", - "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "", - "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "", + "Enable Memory Locking (mlock) to prevent model data from being swapped out of RAM. This option locks the model's working set of pages into RAM, ensuring that they will not be swapped out to disk. This can help maintain performance by avoiding page faults and ensuring fast data access.": "Aktiviere Memory Locking (mlock), um zu verhindern, dass Modelldaten aus dem RAM ausgelagert werden. Diese Option sperrt die Arbeitsseiten des Modells im RAM, um sicherzustellen, dass sie nicht auf die Festplatte ausgelagert werden. Dies kann die Leistung verbessern, indem Page Faults vermieden und ein schneller Datenzugriff sichergestellt werden.", + "Enable Memory Mapping (mmap) to load model data. This option allows the system to use disk storage as an extension of RAM by treating disk files as if they were in RAM. This can improve model performance by allowing for faster data access. However, it may not work correctly with all systems and can consume a significant amount of disk space.": "Aktiviere Memory Mapping (mmap), um Modelldaten zu laden. Diese Option ermöglicht es dem System, den Festplattenspeicher als Erweiterung des RAM zu verwenden, indem Festplattendateien so behandelt werden, als ob sie im RAM wären. Dies kann die Modellleistung verbessern, indem ein schnellerer Datenzugriff ermöglicht wird. Es kann jedoch nicht auf allen Systemen korrekt funktionieren und einen erheblichen Teil des Festplattenspeichers beanspruchen.", "Enable Message Rating": "Nachrichtenbewertung aktivieren", - "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "", + "Enable Mirostat sampling for controlling perplexity. (Default: 0, 0 = Disabled, 1 = Mirostat, 2 = Mirostat 2.0)": "Mirostat Sampling zur Steuerung der Perplexität aktivieren. (Standard: 0, 0 = Deaktiviert, 1 = Mirostat, 2 = Mirostat 2.0)", "Enable New Sign Ups": "Registrierung erlauben", - "Enable Retrieval Query Generation": "", - "Enable Tags Generation": "", + "Enable Retrieval Query Generation": "Abfragegenerierung aktivieren", + "Enable Tags Generation": "Tag-Generierung aktivieren", "Enable Web Search": "Websuche aktivieren", "Enable Web Search Query Generation": "Websuchanfragen-Generierung aktivieren", "Enabled": "Aktiviert", @@ -311,12 +311,12 @@ "Enter {{role}} message here": "Geben Sie die {{role}}-Nachricht hier ein", "Enter a detail about yourself for your LLMs to recall": "Geben Sie ein Detail über sich selbst ein, das Ihre Sprachmodelle (LLMs) sich merken sollen", "Enter api auth string (e.g. username:password)": "Geben Sie die API-Authentifizierungszeichenfolge ein (z. B. Benutzername:Passwort)", - "Enter Application DN": "", - "Enter Application DN Password": "", - "Enter Bing Search V7 Endpoint": "", - "Enter Bing Search V7 Subscription Key": "", + "Enter Application DN": "Geben Sie die Anwendungs-DN ein", + "Enter Application DN Password": "Geben Sie das Anwendungs-DN-Passwort ein", + "Enter Bing Search V7 Endpoint": "Geben Sie den Bing Search V7-Endpunkt ein", + "Enter Bing Search V7 Subscription Key": "Geben Sie den Bing Search V7-Abonnement-Schlüssel ein", "Enter Brave Search API Key": "Geben Sie den Brave Search API-Schlüssel ein", - "Enter certificate path": "", + "Enter certificate path": "Geben Sie den Zertifikatpfad ein", "Enter CFG Scale (e.g. 7.0)": "Geben Sie die CFG-Skala ein (z. B. 7.0)", "Enter Chunk Overlap": "Geben Sie die Blocküberlappung ein", "Enter Chunk Size": "Geben Sie die Blockgröße ein", @@ -325,11 +325,11 @@ "Enter Google PSE API Key": "Geben Sie den Google PSE-API-Schlüssel ein", "Enter Google PSE Engine Id": "Geben Sie die Google PSE-Engine-ID ein", "Enter Image Size (e.g. 512x512)": "Geben Sie die Bildgröße ein (z. B. 512x512)", - "Enter Jina API Key": "", + "Enter Jina API Key": "Geben Sie den Jina-API-Schlüssel ein", "Enter language codes": "Geben Sie die Sprachcodes ein", "Enter Model ID": "Geben Sie die Modell-ID ein", - "Enter model tag (e.g. {{modelTag}})": "Gebn Sie den Model-Tag ein", - "Enter Mojeek Search API Key": "", + "Enter model tag (e.g. {{modelTag}})": "Geben Sie den Model-Tag ein", + "Enter Mojeek Search API Key": "Geben Sie den Mojeek Search API-Schlüssel ein", "Enter Number of Steps (e.g. 50)": "Geben Sie die Anzahl an Schritten ein (z. B. 50)", "Enter Sampler (e.g. Euler a)": "Geben Sie den Sampler ein (z. B. Euler a)", "Enter Scheduler (e.g. Karras)": "Geben Sie den Scheduler ein (z. B. Karras)", @@ -337,13 +337,13 @@ "Enter SearchApi API Key": "Geben Sie den SearchApi-API-Schlüssel ein", "Enter SearchApi Engine": "Geben Sie die SearchApi-Engine ein", "Enter Searxng Query URL": "Geben Sie die Searxng-Abfrage-URL ein", - "Enter Seed": "", + "Enter Seed": "Geben Sie den Seed ein", "Enter Serper API Key": "Geben Sie den Serper-API-Schlüssel ein", "Enter Serply API Key": "Geben Sie den", "Enter Serpstack API Key": "Geben Sie den Serpstack-API-Schlüssel ein", - "Enter server host": "", - "Enter server label": "", - "Enter server port": "", + "Enter server host": "Geben Sie den Server-Host ein", + "Enter server label": "Geben Sie das Server-Label ein", + "Enter server port": "Geben Sie den Server-Port ein", "Enter stop sequence": "Stop-Sequenz eingeben", "Enter system prompt": "Systemprompt eingeben", "Enter Tavily API Key": "Geben Sie den Tavily-API-Schlüssel ein", @@ -356,28 +356,28 @@ "Enter your message": "Geben Sie Ihre Nachricht ein", "Enter Your Password": "Geben Sie Ihr Passwort ein", "Enter Your Role": "Geben Sie Ihre Rolle ein", - "Enter Your Username": "", + "Enter Your Username": "Geben Sie Ihren Benutzernamen ein", "Error": "Fehler", "ERROR": "FEHLER", "Evaluations": "Evaluationen", - "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "", - "Example: ALL": "", - "Example: ou=users,dc=foo,dc=example": "", - "Example: sAMAccountName or uid or userPrincipalName": "", + "Example: (&(objectClass=inetOrgPerson)(uid=%s))": "Beispiel: (&(objectClass=inetOrgPerson)(uid=%s))", + "Example: ALL": "Beispiel: ALL", + "Example: ou=users,dc=foo,dc=example": "Beispiel: ou=users,dc=foo,dc=example", + "Example: sAMAccountName or uid or userPrincipalName": "Beispiel: sAMAccountName or uid or userPrincipalName", "Exclude": "Ausschließen", "Experimental": "Experimentell", - "Explore the cosmos": "", + "Explore the cosmos": "Erforschen Sie das Universum", "Export": "Exportieren", - "Export All Archived Chats": "", + "Export All Archived Chats": "Alle archivierten Unterhaltungen exportieren", "Export All Chats (All Users)": "Alle Unterhaltungen exportieren (alle Benutzer)", "Export chat (.json)": "Unterhaltung exportieren (.json)", "Export Chats": "Unterhaltungen exportieren", "Export Config to JSON File": "Exportiere Konfiguration als JSON-Datei", "Export Functions": "Funktionen exportieren", "Export Models": "Modelle exportieren", - "Export Presets": "", + "Export Presets": "Voreinstellungen exportieren", "Export Prompts": "Prompts exportieren", - "Export to CSV": "", + "Export to CSV": "Als CSV exportieren", "Export Tools": "Werkzeuge exportieren", "External Models": "Externe Modelle", "Failed to add file.": "Fehler beim Hinzufügen der Datei.", @@ -387,7 +387,7 @@ "Failed to upload file.": "Fehler beim Hochladen der Datei.", "February": "Februar", "Feedback History": "Feedback-Verlauf", - "Feedbacks": "", + "Feedbacks": "Feedbacks", "Feel free to add specific details": "Fühlen Sie sich frei, spezifische Details hinzuzufügen", "File": "Datei", "File added successfully.": "Datei erfolgreich hinzugefügt.", @@ -408,18 +408,18 @@ "Folder name cannot be empty.": "Ordnername darf nicht leer sein.", "Folder name updated successfully": "Ordnername erfolgreich aktualisiert", "Followed instructions perfectly": "Anweisungen perfekt befolgt", - "Forge new paths": "", + "Forge new paths": "Neue Wege beschreiten", "Form": "Formular", "Format your variables using brackets like this:": "Formatieren Sie Ihre Variablen mit Klammern, wie hier:", "Frequency Penalty": "Frequenzstrafe", "Function": "Funktion", "Function created successfully": "Funktion erfolgreich erstellt", "Function deleted successfully": "Funktion erfolgreich gelöscht", - "Function Description": "", - "Function ID": "", + "Function Description": "Funktionsbeschreibung", + "Function ID": "Funktions-ID", "Function is now globally disabled": "Die Funktion ist jetzt global deaktiviert", "Function is now globally enabled": "Die Funktion ist jetzt global aktiviert", - "Function Name": "", + "Function Name": "Funktionsname", "Function updated successfully": "Funktion erfolgreich aktualisiert", "Functions": "Funktionen", "Functions allow arbitrary code execution": "Funktionen ermöglichen die Ausführung beliebigen Codes", @@ -430,34 +430,34 @@ "Generate Image": "Bild erzeugen", "Generating search query": "Suchanfrage wird erstellt", "Generation Info": "Generierungsinformationen", - "Get started": "", - "Get started with {{WEBUI_NAME}}": "", + "Get started": "Loslegen", + "Get started with {{WEBUI_NAME}}": "Loslegen mit {{WEBUI_NAME}}", "Global": "Global", "Good Response": "Gute Antwort", "Google PSE API Key": "Google PSE-API-Schlüssel", "Google PSE Engine Id": "Google PSE-Engine-ID", - "Group created successfully": "", - "Group deleted successfully": "", - "Group Description": "", - "Group Name": "", - "Group updated successfully": "", - "Groups": "", + "Group created successfully": "Gruppe erfolgreich erstellt", + "Group deleted successfully": "Gruppe erfolgreich gelöscht", + "Group Description": "Gruppenbeschreibung", + "Group Name": "Gruppenname", + "Group updated successfully": "Gruppe erfolgreich aktualisiert", + "Groups": "Gruppen", "h:mm a": "h:mm a", "Haptic Feedback": "Haptisches Feedback", "has no conversations.": "hat keine Unterhaltungen.", "Hello, {{name}}": "Hallo, {{name}}", "Help": "Hilfe", "Help us create the best community leaderboard by sharing your feedback history!": "Helfen Sie uns, die beste Community-Bestenliste zu erstellen, indem Sie Ihren Feedback-Verlauf teilen!", - "Hex Color": "", - "Hex Color - Leave empty for default color": "", + "Hex Color": "Hex-Farbe", + "Hex Color - Leave empty for default color": "Hex-Farbe - Leer lassen für Standardfarbe", "Hide": "Verbergen", - "Host": "", + "Host": "Host", "How can I help you today?": "Wie kann ich Ihnen heute helfen?", - "How would you rate this response?": "", + "How would you rate this response?": "Wie würden Sie diese Antwort bewerten?", "Hybrid Search": "Hybride Suche", "I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.": "Ich bestätige, dass ich gelesen habe und die Auswirkungen meiner Aktion verstehe. Mir sind die Risiken bewusst, die mit der Ausführung beliebigen Codes verbunden sind, und ich habe die Vertrauenswürdigkeit der Quelle überprüft.", "ID": "ID", - "Ignite curiosity": "", + "Ignite curiosity": "Neugier entfachen", "Image Generation (Experimental)": "Bildgenerierung (experimentell)", "Image Generation Engine": "Bildgenerierungs-Engine", "Image Settings": "Bildeinstellungen", @@ -466,13 +466,13 @@ "Import Config from JSON File": "Konfiguration aus JSON-Datei importieren", "Import Functions": "Funktionen importieren", "Import Models": "Modelle importieren", - "Import Presets": "", + "Import Presets": "Voreinstellungen importieren", "Import Prompts": "Prompts importieren", "Import Tools": "Werkzeuge importieren", "Include": "Einschließen", "Include `--api-auth` flag when running stable-diffusion-webui": "Fügen Sie beim Ausführen von stable-diffusion-webui die Option `--api-auth` hinzu", "Include `--api` flag when running stable-diffusion-webui": "Fügen Sie beim Ausführen von stable-diffusion-webui die Option `--api` hinzu", - "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive. (Default: 0.1)": "", + "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive. (Default: 0.1)": "Beeinflusst, wie schnell der Algorithmus auf Feedback aus dem generierten Text reagiert. Eine niedrigere Lernrate führt zu langsameren Anpassungen, während eine höhere Lernrate den Algorithmus reaktionsschneller macht. (Standard: 0.1)", "Info": "Info", "Input commands": "Eingabebefehle", "Install from Github URL": "Installiere von der Github-URL", @@ -481,7 +481,7 @@ "Invalid file format.": "Ungültiges Dateiformat.", "Invalid Tag": "Ungültiger Tag", "January": "Januar", - "Jina API Key": "", + "Jina API Key": "Jina-API-Schlüssel", "join our Discord for help.": "Treten Sie unserem Discord bei, um Hilfe zu erhalten.", "JSON": "JSON", "JSON Preview": "JSON-Vorschau", @@ -490,31 +490,31 @@ "JWT Expiration": "JWT-Ablauf", "JWT Token": "JWT-Token", "Keep Alive": "Verbindung aufrechterhalten", - "Key": "", + "Key": "Schlüssel", "Keyboard shortcuts": "Tastenkombinationen", "Knowledge": "Wissen", - "Knowledge Access": "", + "Knowledge Access": "Wissenszugriff", "Knowledge created successfully.": "Wissen erfolgreich erstellt.", "Knowledge deleted successfully.": "Wissen erfolgreich gelöscht.", "Knowledge reset successfully.": "Wissen erfolgreich zurückgesetzt.", "Knowledge updated successfully": "Wissen erfolgreich aktualisiert", - "Label": "", + "Label": "Label", "Landing Page Mode": "Startseitenmodus", "Language": "Sprache", "Last Active": "Zuletzt aktiv", "Last Modified": "Zuletzt bearbeitet", - "LDAP": "", - "LDAP server updated": "", + "LDAP": "LDAP", + "LDAP server updated": "LDAP-Server aktualisiert", "Leaderboard": "Bestenliste", "Leave empty for unlimited": "Leer lassen für unbegrenzt", - "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "", - "Leave empty to include all models from \"{{URL}}/models\" endpoint": "", + "Leave empty to include all models from \"{{URL}}/api/tags\" endpoint": "Leer lassen, um alle Modelle vom \"{{URL}}/api/tags\"-Endpunkt einzuschließen", + "Leave empty to include all models from \"{{URL}}/models\" endpoint": "Leer lassen, um alle Modelle vom \"{{URL}}/models\"-Endpunkt einzuschließen", "Leave empty to include all models or select specific models": "Leer lassen, um alle Modelle einzuschließen oder spezifische Modelle auszuwählen", "Leave empty to use the default prompt, or enter a custom prompt": "Leer lassen, um den Standardprompt zu verwenden, oder geben Sie einen benutzerdefinierten Prompt ein", "Light": "Hell", "Listening...": "Höre zu...", "LLMs can make mistakes. Verify important information.": "LLMs können Fehler machen. Überprüfe wichtige Informationen.", - "Local": "", + "Local": "Lokal", "Local Models": "Lokale Modelle", "Lost": "Verloren", "LTR": "LTR", @@ -523,9 +523,9 @@ "Make sure to export a workflow.json file as API format from ComfyUI.": "Stellen Sie sicher, dass sie eine workflow.json-Datei im API-Format von ComfyUI exportieren.", "Manage": "Verwalten", "Manage Arena Models": "Arena-Modelle verwalten", - "Manage Ollama": "", - "Manage Ollama API Connections": "", - "Manage OpenAI API Connections": "", + "Manage Ollama": "Ollama verwalten", + "Manage Ollama API Connections": "Ollama-API-Verbindungen verwalten", + "Manage OpenAI API Connections": "OpenAI-API-Verbindungen verwalten", "Manage Pipelines": "Pipelines verwalten", "March": "März", "Max Tokens (num_predict)": "Maximale Tokenanzahl (num_predict)", @@ -559,22 +559,22 @@ "Model accepts image inputs": "Modell akzeptiert Bileingaben", "Model created successfully!": "Modell erfolgreich erstellt!", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "Modell-Dateisystempfad erkannt. Modellkurzname ist für das Update erforderlich, Fortsetzung nicht möglich.", - "Model Filtering": "", + "Model Filtering": "Modellfilterung", "Model ID": "Modell-ID", - "Model IDs": "", + "Model IDs": "Modell-IDs", "Model Name": "Modell-Name", "Model not selected": "Modell nicht ausgewählt", - "Model Params": "Modell-Params", - "Model Permissions": "", + "Model Params": "Modell-Parameter", + "Model Permissions": "Modellberechtigungen", "Model updated successfully": "Modell erfolgreich aktualisiert", "Modelfile Content": "Modelfile-Inhalt", "Models": "Modelle", - "Models Access": "", - "Mojeek Search API Key": "", + "Models Access": "Modell-Zugriff", + "Mojeek Search API Key": "Mojeek Search API-Schlüssel", "more": "mehr", "More": "Mehr", "Name": "Name", - "Name your knowledge base": "", + "Name your knowledge base": "Benennen Sie Ihren Wissensspeicher", "New Chat": "Neue Unterhaltung", "New folder": "Neuer Ordner", "New Password": "Neues Passwort", @@ -584,15 +584,15 @@ "No feedbacks found": "Kein Feedback gefunden", "No file selected": "Keine Datei ausgewählt", "No files found.": "Keine Dateien gefunden.", - "No groups with access, add a group to grant access": "", + "No groups with access, add a group to grant access": "Keine Gruppen mit Zugriff, fügen Sie eine Gruppe hinzu, um Zugriff zu gewähren", "No HTML, CSS, or JavaScript content found.": "Keine HTML-, CSS- oder JavaScript-Inhalte gefunden.", "No knowledge found": "Kein Wissen gefunden", - "No model IDs": "", + "No model IDs": "Keine Modell-IDs", "No models found": "Keine Modelle gefunden", "No results found": "Keine Ergebnisse gefunden", "No search query generated": "Keine Suchanfrage generiert", "No source available": "Keine Quelle verfügbar", - "No users were found.": "", + "No users were found.": "Keine Benutzer gefunden.", "No valves to update": "Keine Valves zum Aktualisieren", "None": "Nichts", "Not factually correct": "Nicht sachlich korrekt", @@ -611,13 +611,13 @@ "Ollama": "Ollama", "Ollama API": "Ollama-API", "Ollama API disabled": "Ollama-API deaktiviert", - "Ollama API settings updated": "", + "Ollama API settings updated": "Ollama-API-Einstellungen aktualisiert", "Ollama Version": "Ollama-Version", "On": "Ein", - "Only alphanumeric characters and hyphens are allowed": "", + "Only alphanumeric characters and hyphens are allowed": "Nur alphanumerische Zeichen und Bindestriche sind erlaubt", "Only alphanumeric characters and hyphens are allowed in the command string.": "In der Befehlszeichenfolge sind nur alphanumerische Zeichen und Bindestriche erlaubt.", "Only collections can be edited, create a new knowledge base to edit/add documents.": "Nur Sammlungen können bearbeitet werden. Erstellen Sie eine neue Wissensbasis, um Dokumente zu bearbeiten/hinzuzufügen.", - "Only select users and groups with permission can access": "", + "Only select users and groups with permission can access": "Nur ausgewählte Benutzer und Gruppen mit Berechtigung können darauf zugreifen", "Oops! Looks like the URL is invalid. Please double-check and try again.": "Hoppla! Es scheint, dass die URL ungültig ist. Bitte überprüfen Sie diese und versuchen Sie es erneut.", "Oops! There are files still uploading. Please wait for the upload to complete.": "Hoppla! Es werden noch Dateien hochgeladen. Bitte warten Sie, bis der Upload abgeschlossen ist.", "Oops! There was an error in the previous response.": "Hoppla! Es gab einen Fehler in der vorherigen Antwort.", @@ -626,34 +626,34 @@ "Open in full screen": "Im Vollbildmodus öffnen", "Open new chat": "Neuen Chat öffnen", "Open WebUI uses faster-whisper internally.": "Open WebUI verwendet intern faster-whisper.", - "Open WebUI uses SpeechT5 and CMU Arctic speaker embeddings.": "", + "Open WebUI uses SpeechT5 and CMU Arctic speaker embeddings.": "Open WebUI verwendet SpeechT5 und CMU Arctic-Sprecher-Embeddings.", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "Die installierte Open-WebUI-Version (v{{OPEN_WEBUI_VERSION}}) ist niedriger als die erforderliche Version (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", "OpenAI API": "OpenAI-API", "OpenAI API Config": "OpenAI-API-Konfiguration", "OpenAI API Key is required.": "OpenAI-API-Schlüssel erforderlich.", - "OpenAI API settings updated": "", + "OpenAI API settings updated": "OpenAI-API-Einstellungen aktualisiert", "OpenAI URL/Key required.": "OpenAI-URL/Schlüssel erforderlich.", "or": "oder", - "Organize your users": "", + "Organize your users": "Organisieren Sie Ihre Benutzer", "Other": "Andere", "OUTPUT": "AUSGABE", "Output format": "Ausgabeformat", "Overview": "Übersicht", "page": "Seite", "Password": "Passwort", - "Paste Large Text as File": "", + "Paste Large Text as File": "Großen Text als Datei einfügen", "PDF document (.pdf)": "PDF-Dokument (.pdf)", "PDF Extract Images (OCR)": "Text von Bildern aus PDFs extrahieren (OCR)", "pending": "ausstehend", "Permission denied when accessing media devices": "Zugriff auf Mediengeräte verweigert", "Permission denied when accessing microphone": "Zugriff auf das Mikrofon verweigert", "Permission denied when accessing microphone: {{error}}": "Zugriff auf das Mikrofon verweigert: {{error}}", - "Permissions": "", + "Permissions": "Berechtigungen", "Personalization": "Personalisierung", "Pin": "Anheften", "Pinned": "Angeheftet", - "Pioneer insights": "", + "Pioneer insights": "Bahnbrechende Erkenntnisse", "Pipeline deleted successfully": "Pipeline erfolgreich gelöscht", "Pipeline downloaded successfully": "Pipeline erfolgreich heruntergeladen", "Pipelines": "Pipelines", @@ -665,23 +665,23 @@ "Please enter a prompt": "Bitte geben Sie einen Prompt ein", "Please fill in all fields.": "Bitte füllen Sie alle Felder aus.", "Please select a reason": "Bitte wählen Sie einen Grund aus", - "Port": "", + "Port": "Port", "Positive attitude": "Positive Einstellung", - "Prefix ID": "", - "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "", + "Prefix ID": "Präfix-ID", + "Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "Prefix-ID wird verwendet, um Konflikte mit anderen Verbindungen zu vermeiden, indem ein Präfix zu den Modell-IDs hinzugefügt wird - leer lassen, um zu deaktivieren", "Previous 30 days": "Vorherige 30 Tage", "Previous 7 days": "Vorherige 7 Tage", "Profile Image": "Profilbild", "Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Prompt (z. B. \"Erzähle mir eine interessante Tatsache über das Römische Reich\")", "Prompt Content": "Prompt-Inhalt", - "Prompt created successfully": "", + "Prompt created successfully": "Prompt erfolgreich erstellt", "Prompt suggestions": "Prompt-Vorschläge", - "Prompt updated successfully": "", + "Prompt updated successfully": "Prompt erfolgreich aktualisiert", "Prompts": "Prompts", - "Prompts Access": "", + "Prompts Access": "Prompt-Zugriff", "Pull \"{{searchValue}}\" from Ollama.com": "\"{{searchValue}}\" von Ollama.com beziehen", "Pull a model from Ollama.com": "Modell von Ollama.com beziehen", - "Query Generation Prompt": "", + "Query Generation Prompt": "Abfragegenerierungsprompt", "Query Params": "Abfrageparameter", "RAG Template": "RAG-Vorlage", "Rating": "Bewertung", @@ -689,7 +689,7 @@ "Read Aloud": "Vorlesen", "Record voice": "Stimme aufnehmen", "Redirecting you to OpenWebUI Community": "Sie werden zur OpenWebUI-Community weitergeleitet", - "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "", + "Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)": "Reduziert die Wahrscheinlichkeit, Unsinn zu generieren. Ein höherer Wert (z.B. 100) liefert vielfältigere Antworten, während ein niedrigerer Wert (z.B. 10) konservativer ist. (Standard: 40)", "Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "Beziehen Sie sich auf sich selbst als \"Benutzer\" (z. B. \"Benutzer lernt Spanisch\")", "References from": "Referenzen aus", "Refused when it shouldn't have": "Abgelehnt, obwohl es nicht hätte abgelehnt werden sollen", @@ -728,18 +728,18 @@ "Scroll to bottom when switching between branches": "Beim Wechsel zwischen Branches nach unten scrollen", "Search": "Suchen", "Search a model": "Modell suchen", - "Search Base": "", + "Search Base": "Suchbasis", "Search Chats": "Unterhaltungen durchsuchen...", "Search Collection": "Sammlung durchsuchen", - "Search Filters": "", + "Search Filters": "Suchfilter", "search for tags": "nach Tags suchen", "Search Functions": "Funktionen durchsuchen...", "Search Knowledge": "Wissen durchsuchen", "Search Models": "Modelle durchsuchen...", - "Search options": "", + "Search options": "Suchoptionen", "Search Prompts": "Prompts durchsuchen...", "Search Result Count": "Anzahl der Suchergebnisse", - "Search the web": "", + "Search the web": "Im Web suchen", "Search Tools": "Werkzeuge durchsuchen...", "SearchApi API Key": "SearchApi-API-Schlüssel", "SearchApi Engine": "SearchApi-Engine", @@ -754,7 +754,7 @@ "Select a base model": "Wählen Sie ein Basismodell", "Select a engine": "Wählen Sie eine Engine", "Select a function": "Wählen Sie eine Funktion", - "Select a group": "", + "Select a group": "Wählen Sie eine Gruppe", "Select a model": "Wählen Sie ein Modell", "Select a pipeline": "Wählen Sie eine Pipeline", "Select a pipeline url": "Wählen Sie eine Pipeline-URL", @@ -777,7 +777,7 @@ "Set as default": "Als Standard festlegen", "Set CFG Scale": "CFG-Skala festlegen", "Set Default Model": "Standardmodell festlegen", - "Set embedding model": "", + "Set embedding model": "Einbettungsmodell festlegen", "Set embedding model (e.g. {{model}})": "Einbettungsmodell festlegen (z. B. {{model}})", "Set Image Size": "Bildgröße festlegen", "Set reranking model (e.g. {{model}})": "Rerankingmodell festlegen (z. B. {{model}})", @@ -785,29 +785,29 @@ "Set Scheduler": "Scheduler festlegen", "Set Steps": "Schrittgröße festlegen", "Set Task Model": "Aufgabenmodell festlegen", - "Set the number of GPU devices used for computation. This option controls how many GPU devices (if available) are used to process incoming requests. Increasing this value can significantly improve performance for models that are optimized for GPU acceleration but may also consume more power and GPU resources.": "", - "Set the number of worker threads used for computation. This option controls how many threads are used to process incoming requests concurrently. Increasing this value can improve performance under high concurrency workloads but may also consume more CPU resources.": "", + "Set the number of GPU devices used for computation. This option controls how many GPU devices (if available) are used to process incoming requests. Increasing this value can significantly improve performance for models that are optimized for GPU acceleration but may also consume more power and GPU resources.": "Legt die Anzahl der für die Berechnung verwendeten GPU-Geräte fest. Diese Option steuert, wie viele GPU-Geräte (falls verfügbar) zur Verarbeitung eingehender Anfragen verwendet werden. Eine Erhöhung dieses Wertes kann die Leistung für Modelle, die für GPU-Beschleunigung optimiert sind, erheblich verbessern, kann jedoch auch mehr Strom und GPU-Ressourcen verbrauchen.", + "Set the number of worker threads used for computation. This option controls how many threads are used to process incoming requests concurrently. Increasing this value can improve performance under high concurrency workloads but may also consume more CPU resources.": "Legt die Anzahl der für die Berechnung verwendeten GPU-Geräte fest. Diese Option steuert, wie viele GPU-Geräte (falls verfügbar) zur Verarbeitung eingehender Anfragen verwendet werden. Eine Erhöhung dieses Wertes kann die Leistung für Modelle, die für GPU-Beschleunigung optimiert sind, erheblich verbessern, kann jedoch auch mehr Strom und GPU-Ressourcen verbrauchen.", "Set Voice": "Stimme festlegen", "Set whisper model": "Whisper-Modell festlegen", - "Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx)": "", - "Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)": "", - "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt. (Default: random)": "", - "Sets the size of the context window used to generate the next token. (Default: 2048)": "", - "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "", + "Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx)": "Legt fest, wie weit das Modell zurückblicken soll, um Wiederholungen zu verhindern. (Standard: 64, 0 = deaktiviert, -1 = num_ctx)", + "Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)": "Legt fest, wie stark Wiederholungen bestraft werden sollen. Ein höherer Wert (z.B. 1.5) bestraft Wiederholungen stärker, während ein niedrigerer Wert (z.B. 0.9) nachsichtiger ist. (Standard: 1.1)", + "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt. (Default: random)": "Legt den Zufallszahlengenerator-Seed für die Generierung fest. Wenn dieser auf eine bestimmte Zahl gesetzt wird, erzeugt das Modell denselben Text für denselben Prompt. (Standard: zufällig)", + "Sets the size of the context window used to generate the next token. (Default: 2048)": "Legt die Größe des Kontextfensters fest, das zur Generierung des nächsten Tokens verwendet wird. (Standard: 2048)", + "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "Legt die zu verwendenden Stoppsequenzen fest. Wenn dieses Muster erkannt wird, stoppt das LLM die Textgenerierung und gibt zurück. Mehrere Stoppmuster können festgelegt werden, indem mehrere separate Stopp-Parameter in einer Modelldatei angegeben werden.", "Settings": "Einstellungen", "Settings saved successfully!": "Einstellungen erfolgreich gespeichert!", "Share": "Teilen", "Share Chat": "Unterhaltung teilen", "Share to OpenWebUI Community": "Mit OpenWebUI Community teilen", "Show": "Anzeigen", - "Show \"What's New\" modal on login": "", + "Show \"What's New\" modal on login": "\"Was gibt's Neues\"-Modal beim Anmelden anzeigen", "Show Admin Details in Account Pending Overlay": "Admin-Details im Account-Pending-Overlay anzeigen", "Show shortcuts": "Verknüpfungen anzeigen", "Show your support!": "Zeigen Sie Ihre Unterstützung!", "Showcased creativity": "Kreativität gezeigt", "Sign in": "Anmelden", "Sign in to {{WEBUI_NAME}}": "Bei {{WEBUI_NAME}} anmelden", - "Sign in to {{WEBUI_NAME}} with LDAP": "", + "Sign in to {{WEBUI_NAME}} with LDAP": "Bei {{WEBUI_NAME}} mit LDAP anmelden", "Sign Out": "Abmelden", "Sign up": "Registrieren", "Sign up to {{WEBUI_NAME}}": "Bei {{WEBUI_NAME}} registrieren", @@ -832,7 +832,7 @@ "System Instructions": "Systemanweisungen", "System Prompt": "System-Prompt", "Tags Generation Prompt": "Prompt für Tag-Generierung", - "Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting. (default: 1)": "", + "Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting. (default: 1)": "Tail-Free Sampling wird verwendet, um den Einfluss weniger wahrscheinlicher Tokens auf die Ausgabe zu reduzieren. Ein höherer Wert (z.B. 2.0) reduziert den Einfluss stärker, während ein Wert von 1.0 diese Einstellung deaktiviert. (Standard: 1)", "Tap to interrupt": "Zum Unterbrechen tippen", "Tavily API Key": "Tavily-API-Schlüssel", "Tell us more:": "Erzähl uns mehr", @@ -843,30 +843,30 @@ "Text-to-Speech Engine": "Text-zu-Sprache-Engine", "Tfs Z": "Tfs Z", "Thanks for your feedback!": "Danke für Ihr Feedback!", - "The Application Account DN you bind with for search": "", - "The base to search for users": "", - "The batch size determines how many text requests are processed together at once. A higher batch size can increase the performance and speed of the model, but it also requires more memory. (Default: 512)": "", + "The Application Account DN you bind with for search": "Der Anwendungs-Konto-DN, mit dem Sie für die Suche binden", + "The base to search for users": "Die Basis, in der nach Benutzern gesucht wird", + "The batch size determines how many text requests are processed together at once. A higher batch size can increase the performance and speed of the model, but it also requires more memory. (Default: 512)": "Die Batch-Größe bestimmt, wie viele Textanfragen gleichzeitig verarbeitet werden. Eine größere Batch-Größe kann die Leistung und Geschwindigkeit des Modells erhöhen, erfordert jedoch auch mehr Speicher. (Standard: 512)", "The developers behind this plugin are passionate volunteers from the community. If you find this plugin helpful, please consider contributing to its development.": "Die Entwickler hinter diesem Plugin sind leidenschaftliche Freiwillige aus der Community. Wenn Sie dieses Plugin hilfreich finden, erwägen Sie bitte, zu seiner Entwicklung beizutragen.", "The evaluation leaderboard is based on the Elo rating system and is updated in real-time.": "Die Bewertungs-Bestenliste basiert auf dem Elo-Bewertungssystem und wird in Echtzeit aktualisiert.", - "The LDAP attribute that maps to the username that users use to sign in.": "", + "The LDAP attribute that maps to the username that users use to sign in.": "Das LDAP-Attribut, das dem Benutzernamen zugeordnet ist, den Benutzer zum Anmelden verwenden.", "The leaderboard is currently in beta, and we may adjust the rating calculations as we refine the algorithm.": "Die Bestenliste befindet sich derzeit in der Beta-Phase, und es ist möglich, dass wir die Bewertungsberechnungen anpassen, während wir den Algorithmus verfeinern.", "The maximum file size in MB. If the file size exceeds this limit, the file will not be uploaded.": "Die maximale Dateigröße in MB. Wenn die Dateigröße dieses Limit überschreitet, wird die Datei nicht hochgeladen.", "The maximum number of files that can be used at once in chat. If the number of files exceeds this limit, the files will not be uploaded.": "Die maximale Anzahl von Dateien, die gleichzeitig in der Unterhaltung verwendet werden können. Wenn die Anzahl der Dateien dieses Limit überschreitet, werden die Dateien nicht hochgeladen.", "The score should be a value between 0.0 (0%) and 1.0 (100%).": "Die Punktzahl sollte ein Wert zwischen 0,0 (0 %) und 1,0 (100 %) sein.", - "The temperature of the model. Increasing the temperature will make the model answer more creatively. (Default: 0.8)": "", + "The temperature of the model. Increasing the temperature will make the model answer more creatively. (Default: 0.8)": "Die Temperatur des Modells. Eine Erhöhung der Temperatur führt dazu, dass das Modell kreativer antwortet. (Standard: 0,8)", "Theme": "Design", "Thinking...": "Denke nach...", "This action cannot be undone. Do you wish to continue?": "Diese Aktion kann nicht rückgängig gemacht werden. Möchten Sie fortfahren?", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Dies stellt sicher, dass Ihre wertvollen Unterhaltungen sicher in Ihrer Backend-Datenbank gespeichert werden. Vielen Dank!", "This is an experimental feature, it may not function as expected and is subject to change at any time.": "Dies ist eine experimentelle Funktion, sie funktioniert möglicherweise nicht wie erwartet und kann jederzeit geändert werden.", - "This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics. (Default: 24)": "", - "This option sets the maximum number of tokens the model can generate in its response. Increasing this limit allows the model to provide longer answers, but it may also increase the likelihood of unhelpful or irrelevant content being generated. (Default: 128)": "", + "This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics. (Default: 24)": "Diese Option steuert, wie viele Tokens beim Aktualisieren des Kontexts beibehalten werden. Wenn sie beispielsweise auf 2 gesetzt ist, werden die letzten 2 Tokens des Gesprächskontexts beibehalten. Das Beibehalten des Kontexts kann helfen, die Kontinuität eines Gesprächs aufrechtzuerhalten, kann jedoch die Fähigkeit verringern, auf neue Themen zu reagieren. (Standard: 24)", + "This option sets the maximum number of tokens the model can generate in its response. Increasing this limit allows the model to provide longer answers, but it may also increase the likelihood of unhelpful or irrelevant content being generated. (Default: 128)": "Diese Option legt die maximale Anzahl von Tokens fest, die das Modell in seiner Antwort generieren kann. Eine Erhöhung dieses Limits ermöglicht es dem Modell, längere Antworten zu geben, kann jedoch auch die Wahrscheinlichkeit erhöhen, dass unhilfreicher oder irrelevanter Inhalt generiert wird. (Standard: 128)", "This option will delete all existing files in the collection and replace them with newly uploaded files.": "Diese Option löscht alle vorhandenen Dateien in der Sammlung und ersetzt sie durch neu hochgeladene Dateien.", "This response was generated by \"{{model}}\"": "Diese Antwort wurde von \"{{model}}\" generiert", "This will delete": "Dies löscht", "This will delete {{NAME}} and all its contents.": "Dies löscht {{NAME}} und alle Inhalte.", - "This will delete all models including custom models": "", - "This will delete all models including custom models and cannot be undone.": "", + "This will delete all models including custom models": "Dies wird alle Modelle einschließlich benutzerdefinierter Modelle löschen", + "This will delete all models including custom models and cannot be undone.": "Dies wird alle Modelle einschließlich benutzerdefinierter Modelle löschen und kann nicht rückgängig gemacht werden.", "This will reset the knowledge base and sync all files. Do you wish to continue?": "Dadurch wird die Wissensdatenbank zurückgesetzt und alle Dateien synchronisiert. Möchten Sie fortfahren?", "Thorough explanation": "Ausführliche Erklärung", "Tika": "Tika", @@ -878,7 +878,7 @@ "Title Auto-Generation": "Unterhaltungstitel automatisch generieren", "Title cannot be an empty string.": "Titel darf nicht leer sein.", "Title Generation Prompt": "Prompt für Titelgenerierung", - "TLS": "", + "TLS": "TLS", "To access the available model names for downloading,": "Um auf die verfügbaren Modellnamen zuzugreifen,", "To access the GGUF models available for downloading,": "Um auf die verfügbaren GGUF-Modelle zuzugreifen,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "Um auf das WebUI zugreifen zu können, wenden Sie sich bitte an einen Administrator. Administratoren können den Benutzerstatus über das Admin-Panel verwalten.", @@ -896,19 +896,19 @@ "Too verbose": "Zu ausführlich", "Tool created successfully": "Werkzeug erfolgreich erstellt", "Tool deleted successfully": "Werkzeug erfolgreich gelöscht", - "Tool Description": "", - "Tool ID": "", + "Tool Description": "Werkzeugbeschreibung", + "Tool ID": "Werkzeug-ID", "Tool imported successfully": "Werkzeug erfolgreich importiert", - "Tool Name": "", + "Tool Name": "Werkzeugname", "Tool updated successfully": "Werkzeug erfolgreich aktualisiert", "Tools": "Werkzeuge", - "Tools Access": "", + "Tools Access": "Werkzeugzugriff", "Tools are a function calling system with arbitrary code execution": "Wekzeuge sind ein Funktionssystem mit beliebiger Codeausführung", "Tools have a function calling system that allows arbitrary code execution": "Werkezuge verfügen über ein Funktionssystem, das die Ausführung beliebigen Codes ermöglicht", "Tools have a function calling system that allows arbitrary code execution.": "Werkzeuge verfügen über ein Funktionssystem, das die Ausführung beliebigen Codes ermöglicht.", "Top K": "Top K", "Top P": "Top P", - "Transformers": "", + "Transformers": "Transformers", "Trouble accessing Ollama?": "Probleme beim Zugriff auf Ollama?", "TTS Model": "TTS-Modell", "TTS Settings": "TTS-Einstellungen", @@ -917,12 +917,12 @@ "Type Hugging Face Resolve (Download) URL": "Geben Sie die Hugging Face Resolve-URL ein", "Uh-oh! There was an issue connecting to {{provider}}.": "Ups! Es gab ein Problem bei der Verbindung mit {{provider}}.", "UI": "Oberfläche", - "Unarchive All": "", - "Unarchive All Archived Chats": "", - "Unarchive Chat": "", - "Unlock mysteries": "", + "Unarchive All": "Alle wiederherstellen", + "Unarchive All Archived Chats": "Alle archivierten Unterhaltungen wiederherstellen", + "Unarchive Chat": "Unterhaltung wiederherstellen", + "Unlock mysteries": "Geheimnisse entsperren", "Unpin": "Lösen", - "Unravel secrets": "", + "Unravel secrets": "Geheimnisse lüften", "Untagged": "Ungetaggt", "Update": "Aktualisieren", "Update and Copy Link": "Aktualisieren und Link kopieren", @@ -938,18 +938,18 @@ "Upload Files": "Datei(en) hochladen", "Upload Pipeline": "Pipeline hochladen", "Upload Progress": "Hochladefortschritt", - "URL": "", + "URL": "URL", "URL Mode": "URL-Modus", "Use '#' in the prompt input to load and include your knowledge.": "Nutzen Sie '#' in der Prompt-Eingabe, um Ihr Wissen zu laden und einzuschließen.", "Use Gravatar": "Gravatar verwenden", - "Use groups to group your users and assign permissions.": "", + "Use groups to group your users and assign permissions.": "Nutzen Sie Gruppen, um Ihre Benutzer zu gruppieren und Berechtigungen zuzuweisen.", "Use Initials": "Initialen verwenden", "use_mlock (Ollama)": "use_mlock (Ollama)", "use_mmap (Ollama)": "use_mmap (Ollama)", "user": "Benutzer", "User": "Benutzer", "User location successfully retrieved.": "Benutzerstandort erfolgreich ermittelt.", - "Username": "", + "Username": "Benutzername", "Users": "Benutzer", "Using the default arena model with all models. Click the plus button to add custom models.": "Verwendung des Standard-Arena-Modells mit allen Modellen. Klicken Sie auf die Plus-Schaltfläche, um benutzerdefinierte Modelle hinzuzufügen.", "Utilize": "Verwende", @@ -961,12 +961,12 @@ "variable to have them replaced with clipboard content.": "Variable, um den Inhalt der Zwischenablage beim Nutzen des Prompts zu ersetzen.", "Version": "Version", "Version {{selectedVersion}} of {{totalVersions}}": "Version {{selectedVersion}} von {{totalVersions}}", - "Visibility": "", + "Visibility": "Sichtbarkeit", "Voice": "Stimme", "Voice Input": "Spracheingabe", "Warning": "Warnung", "Warning:": "Warnung:", - "Warning: Enabling this will allow users to upload arbitrary code on the server.": "", + "Warning: Enabling this will allow users to upload arbitrary code on the server.": "Warnung: Wenn Sie dies aktivieren, können Benutzer beliebigen Code auf dem Server hochladen.", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Warnung: Wenn Sie das Einbettungsmodell aktualisieren oder ändern, müssen Sie alle Dokumente erneut importieren.", "Web": "Web", "Web API": "Web-API", @@ -975,30 +975,30 @@ "Web Search Engine": "Suchmaschine", "Webhook URL": "Webhook URL", "WebUI Settings": "WebUI-Einstellungen", - "WebUI will make requests to \"{{url}}/api/chat\"": "", - "WebUI will make requests to \"{{url}}/chat/completions\"": "", - "What are you trying to achieve?": "", - "What are you working on?": "", + "WebUI will make requests to \"{{url}}/api/chat\"": "WebUI wird Anfragen an \"{{url}}/api/chat\" senden", + "WebUI will make requests to \"{{url}}/chat/completions\"": "WebUI wird Anfragen an \"{{url}}/chat/completions\" senden", + "What are you trying to achieve?": "Was versuchen Sie zu erreichen?", + "What are you working on?": "Woran arbeiten Sie?", "What’s New in": "Neuigkeiten von", - "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "", - "wherever you are": "", + "When enabled, the model will respond to each chat message in real-time, generating a response as soon as the user sends a message. This mode is useful for live chat applications, but may impact performance on slower hardware.": "Wenn aktiviert, antwortet das Modell in Echtzeit auf jede Chat-Nachricht und generiert eine Antwort, sobald der Benutzer eine Nachricht sendet. Dieser Modus ist nützlich für Live-Chat-Anwendungen, kann jedoch die Leistung auf langsamerer Hardware beeinträchtigen.", + "wherever you are": "wo immer Sie sind", "Whisper (Local)": "Whisper (lokal)", - "Why?": "", + "Why?": "Warum?", "Widescreen Mode": "Breitbildmodus", "Won": "Gewonnen", - "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "", + "Works together with top-k. A higher value (e.g., 0.95) will lead to more diverse text, while a lower value (e.g., 0.5) will generate more focused and conservative text. (Default: 0.9)": "Funktioniert zusammen mit top-k. Ein höherer Wert (z.B. 0,95) führt zu vielfältigerem Text, während ein niedrigerer Wert (z.B. 0,5) fokussierteren und konservativeren Text erzeugt. (Standard: 0,9)", "Workspace": "Arbeitsbereich", - "Workspace Permissions": "", + "Workspace Permissions": "Arbeitsbereichsberechtigungen", "Write a prompt suggestion (e.g. Who are you?)": "Schreiben Sie einen Promptvorschlag (z. B. Wer sind Sie?)", "Write a summary in 50 words that summarizes [topic or keyword].": "Schreibe eine kurze Zusammenfassung in 50 Wörtern, die [Thema oder Schlüsselwort] zusammenfasst.", "Write something...": "Schreiben Sie etwas...", - "Write your model template content here": "", + "Write your model template content here": "Schreiben Sie hier Ihren Modellvorlageninhalt", "Yesterday": "Gestern", "You": "Sie", "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Sie können nur mit maximal {{maxCount}} Datei(en) gleichzeitig chatten.", "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Personalisieren Sie Interaktionen mit LLMs, indem Sie über die Schaltfläche \"Verwalten\" Erinnerungen hinzufügen.", "You cannot upload an empty file.": "Sie können keine leere Datei hochladen.", - "You do not have permission to upload files.": "", + "You do not have permission to upload files.": "Sie haben keine Berechtigung zum Hochladen von Dateien.", "You have no archived conversations.": "Du hast keine archivierten Unterhaltungen.", "You have shared this chat": "Sie haben diese Unterhaltung geteilt", "You're a helpful assistant.": "Du bist ein hilfreicher Assistent.", From 9412f51c1980de482af07beb6973e4e23e71dc17 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 19:22:35 -0800 Subject: [PATCH 50/83] chore: version bump --- backend/open_webui/apps/webui/routers/auths.py | 6 +----- package-lock.json | 4 ++-- package.json | 2 +- src/lib/i18n/locales/de-DE/translation.json | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/backend/open_webui/apps/webui/routers/auths.py b/backend/open_webui/apps/webui/routers/auths.py index 5d2e257df..8f175f366 100644 --- a/backend/open_webui/apps/webui/routers/auths.py +++ b/backend/open_webui/apps/webui/routers/auths.py @@ -246,13 +246,9 @@ async def ldap_auth(request: Request, response: Response, form_data: LdapForm): ) user = Auths.insert_new_auth( - email=mail, - password=str(uuid.uuid4()), - name=cn, - role=role + email=mail, password=str(uuid.uuid4()), name=cn, role=role ) - if not user: raise HTTPException( 500, detail=ERROR_MESSAGES.CREATE_USER_ERROR diff --git a/package-lock.json b/package-lock.json index d6bd4df7a..496e790d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.4.3", + "version": "0.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.4.3", + "version": "0.4.4", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index cf5583250..8f4bc6ae0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.4.3", + "version": "0.4.4", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index cfc2c1a39..9820a6b0e 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -329,7 +329,7 @@ "Enter language codes": "Geben Sie die Sprachcodes ein", "Enter Model ID": "Geben Sie die Modell-ID ein", "Enter model tag (e.g. {{modelTag}})": "Geben Sie den Model-Tag ein", - "Enter Mojeek Search API Key": "Geben Sie den Mojeek Search API-Schlüssel ein", + "Enter Mojeek Search API Key": "Geben Sie den Mojeek Search API-Schlüssel ein", "Enter Number of Steps (e.g. 50)": "Geben Sie die Anzahl an Schritten ein (z. B. 50)", "Enter Sampler (e.g. Euler a)": "Geben Sie den Sampler ein (z. B. Euler a)", "Enter Scheduler (e.g. Karras)": "Geben Sie den Scheduler ein (z. B. Karras)", From 79e988b281707637495c7808a9d009301c4a2db8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 19:26:42 -0800 Subject: [PATCH 51/83] doc: changelogs --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 927454962..87d75f8ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.4] - 2024-11-22 + +### Added + +- **🌐 Translation Updates**: Refreshed Catalan, Brazilian Portuguese (pt-BR), and Ukrainian translations, further enhancing the platform's accessibility and improving the experience for international users. + +### Fixed + +- **📱 Mobile Controls Visibility**: Resolved an issue where the controls button was not displaying on the new chats page for mobile users, ensuring smoother navigation and functionality on smaller screens. +- **📷 LDAP Profile Image Issue**: Fixed an LDAP integration bug related to profile images, ensuring seamless authentication and a reliable login experience for users. +- **⏳ RAG Query Generation Issue**: Addressed a significant problem where RAG query generation occurred unnecessarily without attached files, drastically improving speed and reducing delays during chat completions. + +### Changed + +- **⚙️ Legacy Event Emitter Support**: Reintroduced compatibility with legacy "citation" types for event emitters in tools and functions, providing smoother workflows and broader tool support for users. + ## [0.4.3] - 2024-11-21 ### Added From 47ae5221f71d36498fc78a2678ac3178ffe5a662 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 22 Nov 2024 19:27:20 -0800 Subject: [PATCH 52/83] doc: wording --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87d75f8ef..5db213e35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- **🌐 Translation Updates**: Refreshed Catalan, Brazilian Portuguese (pt-BR), and Ukrainian translations, further enhancing the platform's accessibility and improving the experience for international users. +- **🌐 Translation Updates**: Refreshed Catalan, Brazilian Portuguese, German, and Ukrainian translations, further enhancing the platform's accessibility and improving the experience for international users. ### Fixed From d24c21b40f27a7605485233b764c49c89bd848c2 Mon Sep 17 00:00:00 2001 From: DmitriyAlergant-T1A Date: Thu, 21 Nov 2024 23:14:05 -0500 Subject: [PATCH 53/83] Fix Logging cleanup: removed some extraneous hard prints (including some that revealed message content!); improved debug logging a bit. + added chat_id to task metadata (helpful for logging/tracking in some pipe functions) --- backend/open_webui/apps/openai/main.py | 2 - backend/open_webui/apps/webui/main.py | 13 ++++-- backend/open_webui/apps/webui/utils.py | 17 +++++--- backend/open_webui/main.py | 56 +++++++++++++------------- 4 files changed, 47 insertions(+), 41 deletions(-) diff --git a/backend/open_webui/apps/openai/main.py b/backend/open_webui/apps/openai/main.py index 6d6ac50c6..31c36a8a1 100644 --- a/backend/open_webui/apps/openai/main.py +++ b/backend/open_webui/apps/openai/main.py @@ -585,8 +585,6 @@ async def generate_chat_completion( # Convert the modified body back to JSON payload = json.dumps(payload) - log.debug(payload) - headers = {} headers["Authorization"] = f"Bearer {key}" headers["Content-Type"] = "application/json" diff --git a/backend/open_webui/apps/webui/main.py b/backend/open_webui/apps/webui/main.py index ce4945b69..8995dcdff 100644 --- a/backend/open_webui/apps/webui/main.py +++ b/backend/open_webui/apps/webui/main.py @@ -68,6 +68,7 @@ from open_webui.config import ( ) from open_webui.env import ( ENV, + SRC_LOG_LEVELS, WEBUI_AUTH_TRUSTED_EMAIL_HEADER, WEBUI_AUTH_TRUSTED_NAME_HEADER, ) @@ -94,6 +95,7 @@ app = FastAPI( ) log = logging.getLogger(__name__) +log.setLevel(SRC_LOG_LEVELS["MAIN"]) app.state.config = AppConfig() @@ -270,7 +272,7 @@ async def get_pipe_models(): log.exception(e) sub_pipes = [] - print(sub_pipes) + log.debug(f"get_pipe_models: function '{pipe.id}' is a manifold of {sub_pipes}") for p in sub_pipes: sub_pipe_id = f'{pipe.id}.{p["id"]}' @@ -280,6 +282,7 @@ async def get_pipe_models(): sub_pipe_name = f"{function_module.name}{sub_pipe_name}" pipe_flag = {"type": pipe.type} + pipe_models.append( { "id": sub_pipe_id, @@ -293,6 +296,8 @@ async def get_pipe_models(): else: pipe_flag = {"type": "pipe"} + log.debug(f"get_pipe_models: function '{pipe.id}' is a single pipe {{ 'id': {pipe.id}, 'name': {pipe.name} }}") + pipe_models.append( { "id": pipe.id, @@ -346,7 +351,7 @@ def get_pipe_id(form_data: dict) -> str: pipe_id = form_data["model"] if "." in pipe_id: pipe_id, _ = pipe_id.split(".", 1) - print(pipe_id) + return pipe_id @@ -453,7 +458,7 @@ async def generate_function_chat_completion(form_data, user, models: dict = {}): return except Exception as e: - print(f"Error: {e}") + log.error(f"Error: {e}") yield f"data: {json.dumps({'error': {'detail':str(e)}})}\n\n" return @@ -483,7 +488,7 @@ async def generate_function_chat_completion(form_data, user, models: dict = {}): res = await execute_pipe(pipe, params) except Exception as e: - print(f"Error: {e}") + log.error(f"Error: {e}") return {"error": {"detail": str(e)}} if isinstance(res, StreamingResponse) or isinstance(res, dict): diff --git a/backend/open_webui/apps/webui/utils.py b/backend/open_webui/apps/webui/utils.py index 6bfddd072..054158b3e 100644 --- a/backend/open_webui/apps/webui/utils.py +++ b/backend/open_webui/apps/webui/utils.py @@ -5,10 +5,15 @@ import sys from importlib import util import types import tempfile +import logging +from open_webui.env import SRC_LOG_LEVELS from open_webui.apps.webui.models.functions import Functions from open_webui.apps.webui.models.tools import Tools +log = logging.getLogger(__name__) +log.setLevel(SRC_LOG_LEVELS["MAIN"]) + def extract_frontmatter(content): """ @@ -95,7 +100,7 @@ def load_tools_module_by_id(toolkit_id, content=None): # Executing the modified content in the created module's namespace exec(content, module.__dict__) frontmatter = extract_frontmatter(content) - print(f"Loaded module: {module.__name__}") + log.info(f"Loaded module: {module.__name__}") # Create and return the object if the class 'Tools' is found in the module if hasattr(module, "Tools"): @@ -103,7 +108,7 @@ def load_tools_module_by_id(toolkit_id, content=None): else: raise Exception("No Tools class found in the module") except Exception as e: - print(f"Error loading module: {toolkit_id}: {e}") + log.error(f"Error loading module: {toolkit_id}: {e}") del sys.modules[module_name] # Clean up raise e finally: @@ -139,7 +144,7 @@ def load_function_module_by_id(function_id, content=None): # Execute the modified content in the created module's namespace exec(content, module.__dict__) frontmatter = extract_frontmatter(content) - print(f"Loaded module: {module.__name__}") + log.info(f"Loaded module: {module.__name__}") # Create appropriate object based on available class type in the module if hasattr(module, "Pipe"): @@ -151,7 +156,7 @@ def load_function_module_by_id(function_id, content=None): else: raise Exception("No Function class found in the module") except Exception as e: - print(f"Error loading module: {function_id}: {e}") + log.error(f"Error loading module: {function_id}: {e}") del sys.modules[module_name] # Cleanup by removing the module in case of error Functions.update_function_by_id(function_id, {"is_active": False}) @@ -164,7 +169,7 @@ def install_frontmatter_requirements(requirements): if requirements: req_list = [req.strip() for req in requirements.split(",")] for req in req_list: - print(f"Installing requirement: {req}") + log.info(f"Installing requirement: {req}") subprocess.check_call([sys.executable, "-m", "pip", "install", req]) else: - print("No requirements found in frontmatter.") + log.info("No requirements found in frontmatter.") diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index cfa13e0a5..9aeffae2e 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -539,7 +539,6 @@ async def chat_completion_files_handler( if len(queries) == 0: queries = [get_last_user_message(body["messages"])] - print(f"{queries=}") sources = get_sources_from_files( files=files, @@ -970,7 +969,7 @@ app.add_middleware(SecurityHeadersMiddleware) @app.middleware("http") async def commit_session_after_request(request: Request, call_next): response = await call_next(request) - log.debug("Commit session after request") + #log.debug("Commit session after request") Session.commit() return response @@ -1177,6 +1176,8 @@ async def get_all_models(): model["actions"].extend( get_action_items_from_module(action_function, function_module) ) + log.debug(f"get_all_models() returned {len(models)} models") + return models @@ -1214,6 +1215,8 @@ async def get_models(user=Depends(get_verified_user)): filtered_models.append(model) models = filtered_models + log.debug(f"/api/models returned filtered models accessible to the user: {json.dumps([model['id'] for model in models])}") + return {"data": models} @@ -1704,7 +1707,6 @@ async def update_task_config(form_data: TaskConfigForm, user=Depends(get_admin_u @app.post("/api/task/title/completions") async def generate_title(form_data: dict, user=Depends(get_verified_user)): - print("generate_title") model_list = await get_all_models() models = {model["id"]: model for model in model_list} @@ -1725,9 +1727,7 @@ async def generate_title(form_data: dict, user=Depends(get_verified_user)): models, ) - print(task_model_id) - - model = models[task_model_id] + log.debug(f"generating chat title using model {task_model_id} for user {user.email} ") if app.state.config.TITLE_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.TITLE_GENERATION_PROMPT_TEMPLATE @@ -1766,10 +1766,12 @@ Artificial Intelligence in Healthcare "max_completion_tokens": 50, } ), - "chat_id": form_data.get("chat_id", None), - "metadata": {"task": str(TASKS.TITLE_GENERATION), "task_body": form_data}, + "metadata": { + "task": str(TASKS.TITLE_GENERATION), + "task_body": form_data, + "chat_id": form_data.get("chat_id", None) + }, } - log.debug(payload) # Handle pipeline filters try: @@ -1793,7 +1795,7 @@ Artificial Intelligence in Healthcare @app.post("/api/task/tags/completions") async def generate_chat_tags(form_data: dict, user=Depends(get_verified_user)): - print("generate_chat_tags") + if not app.state.config.ENABLE_TAGS_GENERATION: return JSONResponse( status_code=status.HTTP_200_OK, @@ -1818,7 +1820,8 @@ async def generate_chat_tags(form_data: dict, user=Depends(get_verified_user)): app.state.config.TASK_MODEL_EXTERNAL, models, ) - print(task_model_id) + + log.debug(f"generating chat tags using model {task_model_id} for user {user.email} ") if app.state.config.TAGS_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.TAGS_GENERATION_PROMPT_TEMPLATE @@ -1849,9 +1852,12 @@ JSON format: { "tags": ["tag1", "tag2", "tag3"] } "model": task_model_id, "messages": [{"role": "user", "content": content}], "stream": False, - "metadata": {"task": str(TASKS.TAGS_GENERATION), "task_body": form_data}, + "metadata": { + "task": str(TASKS.TAGS_GENERATION), + "task_body": form_data, + "chat_id": form_data.get("chat_id", None) + } } - log.debug(payload) # Handle pipeline filters try: @@ -1875,7 +1881,7 @@ JSON format: { "tags": ["tag1", "tag2", "tag3"] } @app.post("/api/task/queries/completions") async def generate_queries(form_data: dict, user=Depends(get_verified_user)): - print("generate_queries") + type = form_data.get("type") if type == "web_search": if not app.state.config.ENABLE_SEARCH_QUERY_GENERATION: @@ -1908,9 +1914,8 @@ async def generate_queries(form_data: dict, user=Depends(get_verified_user)): app.state.config.TASK_MODEL_EXTERNAL, models, ) - print(task_model_id) - - model = models[task_model_id] + + log.debug(f"generating {type} queries using model {task_model_id} for user {user.email}") if app.state.config.QUERY_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.QUERY_GENERATION_PROMPT_TEMPLATE @@ -1925,9 +1930,8 @@ async def generate_queries(form_data: dict, user=Depends(get_verified_user)): "model": task_model_id, "messages": [{"role": "user", "content": content}], "stream": False, - "metadata": {"task": str(TASKS.QUERY_GENERATION), "task_body": form_data}, + "metadata": {"task": str(TASKS.QUERY_GENERATION), "task_body": form_data, "chat_id": form_data.get("chat_id", None)}, } - log.debug(payload) # Handle pipeline filters try: @@ -1951,7 +1955,6 @@ async def generate_queries(form_data: dict, user=Depends(get_verified_user)): @app.post("/api/task/emoji/completions") async def generate_emoji(form_data: dict, user=Depends(get_verified_user)): - print("generate_emoji") model_list = await get_all_models() models = {model["id"]: model for model in model_list} @@ -1971,9 +1974,8 @@ async def generate_emoji(form_data: dict, user=Depends(get_verified_user)): app.state.config.TASK_MODEL_EXTERNAL, models, ) - print(task_model_id) - model = models[task_model_id] + log.debug(f"generating emoji using model {task_model_id} for user {user.email} ") template = ''' Your task is to reflect the speaker's likely facial expression through a fitting emoji. Interpret emotions from the message and reflect their facial expression using fitting, diverse emojis (e.g., 😊, 😢, 😡, 😱). @@ -2003,7 +2005,6 @@ Message: """{{prompt}}""" "chat_id": form_data.get("chat_id", None), "metadata": {"task": str(TASKS.EMOJI_GENERATION), "task_body": form_data}, } - log.debug(payload) # Handle pipeline filters try: @@ -2027,7 +2028,6 @@ Message: """{{prompt}}""" @app.post("/api/task/moa/completions") async def generate_moa_response(form_data: dict, user=Depends(get_verified_user)): - print("generate_moa_response") model_list = await get_all_models() models = {model["id"]: model for model in model_list} @@ -2047,9 +2047,8 @@ async def generate_moa_response(form_data: dict, user=Depends(get_verified_user) app.state.config.TASK_MODEL_EXTERNAL, models, ) - print(task_model_id) - - model = models[task_model_id] + + log.debug(f"generating MOA model {task_model_id} for user {user.email} ") template = """You have been provided with a set of responses from various models to the latest user query: "{{prompt}}" @@ -2073,7 +2072,6 @@ Responses from models: {{responses}}""" "task_body": form_data, }, } - log.debug(payload) try: payload = filter_pipeline(payload, user, models) @@ -2108,7 +2106,7 @@ Responses from models: {{responses}}""" async def get_pipelines_list(user=Depends(get_admin_user)): responses = await get_openai_models_responses() - print(responses) + log.debug(f"get_pipelines_list: get_openai_models_responses returned {responses}") urlIdxs = [ idx for idx, response in enumerate(responses) From 374d6cad18eab9e36b01f35bc1fa495986086608 Mon Sep 17 00:00:00 2001 From: DmitriyAlergant-T1A Date: Fri, 22 Nov 2024 23:11:46 -0500 Subject: [PATCH 54/83] Python Formatting (Failed CI - fixed) --- backend/open_webui/apps/webui/main.py | 12 ++++--- backend/open_webui/main.py | 45 +++++++++++++++++---------- 2 files changed, 36 insertions(+), 21 deletions(-) diff --git a/backend/open_webui/apps/webui/main.py b/backend/open_webui/apps/webui/main.py index 8995dcdff..bedd49ae3 100644 --- a/backend/open_webui/apps/webui/main.py +++ b/backend/open_webui/apps/webui/main.py @@ -272,7 +272,9 @@ async def get_pipe_models(): log.exception(e) sub_pipes = [] - log.debug(f"get_pipe_models: function '{pipe.id}' is a manifold of {sub_pipes}") + log.debug( + f"get_pipe_models: function '{pipe.id}' is a manifold of {sub_pipes}" + ) for p in sub_pipes: sub_pipe_id = f'{pipe.id}.{p["id"]}' @@ -282,7 +284,7 @@ async def get_pipe_models(): sub_pipe_name = f"{function_module.name}{sub_pipe_name}" pipe_flag = {"type": pipe.type} - + pipe_models.append( { "id": sub_pipe_id, @@ -296,8 +298,10 @@ async def get_pipe_models(): else: pipe_flag = {"type": "pipe"} - log.debug(f"get_pipe_models: function '{pipe.id}' is a single pipe {{ 'id': {pipe.id}, 'name': {pipe.name} }}") - + log.debug( + f"get_pipe_models: function '{pipe.id}' is a single pipe {{ 'id': {pipe.id}, 'name': {pipe.name} }}" + ) + pipe_models.append( { "id": pipe.id, diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 9aeffae2e..3761a0e39 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -539,7 +539,6 @@ async def chat_completion_files_handler( if len(queries) == 0: queries = [get_last_user_message(body["messages"])] - sources = get_sources_from_files( files=files, queries=queries, @@ -969,7 +968,7 @@ app.add_middleware(SecurityHeadersMiddleware) @app.middleware("http") async def commit_session_after_request(request: Request, call_next): response = await call_next(request) - #log.debug("Commit session after request") + # log.debug("Commit session after request") Session.commit() return response @@ -1215,7 +1214,9 @@ async def get_models(user=Depends(get_verified_user)): filtered_models.append(model) models = filtered_models - log.debug(f"/api/models returned filtered models accessible to the user: {json.dumps([model['id'] for model in models])}") + log.debug( + f"/api/models returned filtered models accessible to the user: {json.dumps([model['id'] for model in models])}" + ) return {"data": models} @@ -1727,7 +1728,9 @@ async def generate_title(form_data: dict, user=Depends(get_verified_user)): models, ) - log.debug(f"generating chat title using model {task_model_id} for user {user.email} ") + log.debug( + f"generating chat title using model {task_model_id} for user {user.email} " + ) if app.state.config.TITLE_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.TITLE_GENERATION_PROMPT_TEMPLATE @@ -1767,10 +1770,10 @@ Artificial Intelligence in Healthcare } ), "metadata": { - "task": str(TASKS.TITLE_GENERATION), - "task_body": form_data, - "chat_id": form_data.get("chat_id", None) - }, + "task": str(TASKS.TITLE_GENERATION), + "task_body": form_data, + "chat_id": form_data.get("chat_id", None), + }, } # Handle pipeline filters @@ -1820,8 +1823,10 @@ async def generate_chat_tags(form_data: dict, user=Depends(get_verified_user)): app.state.config.TASK_MODEL_EXTERNAL, models, ) - - log.debug(f"generating chat tags using model {task_model_id} for user {user.email} ") + + log.debug( + f"generating chat tags using model {task_model_id} for user {user.email} " + ) if app.state.config.TAGS_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.TAGS_GENERATION_PROMPT_TEMPLATE @@ -1853,10 +1858,10 @@ JSON format: { "tags": ["tag1", "tag2", "tag3"] } "messages": [{"role": "user", "content": content}], "stream": False, "metadata": { - "task": str(TASKS.TAGS_GENERATION), + "task": str(TASKS.TAGS_GENERATION), "task_body": form_data, - "chat_id": form_data.get("chat_id", None) - } + "chat_id": form_data.get("chat_id", None), + }, } # Handle pipeline filters @@ -1914,8 +1919,10 @@ async def generate_queries(form_data: dict, user=Depends(get_verified_user)): app.state.config.TASK_MODEL_EXTERNAL, models, ) - - log.debug(f"generating {type} queries using model {task_model_id} for user {user.email}") + + log.debug( + f"generating {type} queries using model {task_model_id} for user {user.email}" + ) if app.state.config.QUERY_GENERATION_PROMPT_TEMPLATE != "": template = app.state.config.QUERY_GENERATION_PROMPT_TEMPLATE @@ -1930,7 +1937,11 @@ async def generate_queries(form_data: dict, user=Depends(get_verified_user)): "model": task_model_id, "messages": [{"role": "user", "content": content}], "stream": False, - "metadata": {"task": str(TASKS.QUERY_GENERATION), "task_body": form_data, "chat_id": form_data.get("chat_id", None)}, + "metadata": { + "task": str(TASKS.QUERY_GENERATION), + "task_body": form_data, + "chat_id": form_data.get("chat_id", None), + }, } # Handle pipeline filters @@ -2047,7 +2058,7 @@ async def generate_moa_response(form_data: dict, user=Depends(get_verified_user) app.state.config.TASK_MODEL_EXTERNAL, models, ) - + log.debug(f"generating MOA model {task_model_id} for user {user.email} ") template = """You have been provided with a set of responses from various models to the latest user query: "{{prompt}}" From b2d3bfa3a8ac330e3ed789289cf3df1768c55d07 Mon Sep 17 00:00:00 2001 From: Pierre Glandon Date: Fri, 22 Nov 2024 17:25:52 +0100 Subject: [PATCH 55/83] feat: add description in Tool --- backend/open_webui/utils/tools.py | 33 ++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 3cdcf15bf..60a9f942f 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -90,6 +90,32 @@ def get_tools( return tools_dict +def parse_description(docstring: str | None) -> str: + """ + Parse a function's docstring to extract the description. + + Args: + docstring (str): The docstring to parse. + + Returns: + str: The description. + """ + + if not docstring: + return "" + + lines = [line.strip() for line in docstring.strip().split("\n")] + description_lines: list[str] = [] + + for line in lines: + if re.match(r":param", line) or re.match(r":return", line): + break + + description_lines.append(line) + + return "\n".join(description_lines) + + def parse_docstring(docstring): """ Parse a function's docstring to extract parameter descriptions in reST format. @@ -138,6 +164,8 @@ def function_to_pydantic_model(func: Callable) -> type[BaseModel]: docstring = func.__doc__ descriptions = parse_docstring(docstring) + tool_description = parse_description(docstring) + field_defs = {} for name, param in parameters.items(): type_hint = type_hints.get(name, Any) @@ -148,7 +176,10 @@ def function_to_pydantic_model(func: Callable) -> type[BaseModel]: continue field_defs[name] = type_hint, Field(default_value, description=description) - return create_model(func.__name__, **field_defs) + model = create_model(func.__name__, **field_defs) + model.__doc__ = tool_description + + return model def get_callable_attributes(tool: object) -> list[Callable]: From a83f89d4305556427f922add4dc858632dcf4d99 Mon Sep 17 00:00:00 2001 From: houcheng Date: Sun, 24 Nov 2024 00:28:14 +0800 Subject: [PATCH 56/83] fix: prevent TTS blocking using aiohttp and aiofiles --- backend/open_webui/apps/audio/main.py | 106 ++++++++++++-------------- backend/requirements.txt | 1 + 2 files changed, 49 insertions(+), 58 deletions(-) diff --git a/backend/open_webui/apps/audio/main.py b/backend/open_webui/apps/audio/main.py index 384bb3cd4..83ea23e2c 100644 --- a/backend/open_webui/apps/audio/main.py +++ b/backend/open_webui/apps/audio/main.py @@ -8,6 +8,8 @@ from pathlib import Path from pydub import AudioSegment from pydub.silence import split_on_silence +import aiohttp +import aiofiles import requests from open_webui.config import ( AUDIO_STT_ENGINE, @@ -292,46 +294,39 @@ async def speech(request: Request, user=Depends(get_verified_user)): except Exception: pass - r = None try: - r = requests.post( - url=f"{app.state.config.TTS_OPENAI_API_BASE_URL}/audio/speech", - data=body, - headers=headers, - stream=True, - ) + async with aiohttp.ClientSession() as session: + async with session.post( + url=f"{app.state.config.TTS_OPENAI_API_BASE_URL}/audio/speech", + data=body, + headers=headers + ) as r: + r.raise_for_status() + async with aiofiles.open(file_path, "wb") as f: + await f.write(await r.read()) + + async with aiofiles.open(file_body_path, "w") as f: + await f.write(json.dumps(json.loads(body.decode("utf-8")))) - r.raise_for_status() - - # Save the streaming content to a file - with open(file_path, "wb") as f: - for chunk in r.iter_content(chunk_size=8192): - f.write(chunk) - - with open(file_body_path, "w") as f: - json.dump(json.loads(body.decode("utf-8")), f) - - # Return the saved file return FileResponse(file_path) except Exception as e: log.exception(e) error_detail = "Open WebUI: Server Connection Error" - if r is not None: - try: - res = r.json() + try: + if r.status != 200: + res = await r.json() if "error" in res: error_detail = f"External: {res['error']['message']}" - except Exception: - error_detail = f"External: {e}" + except Exception: + error_detail = f"External: {e}" raise HTTPException( - status_code=r.status_code if r != None else 500, + status_code=getattr(r, 'status', 500), detail=error_detail, ) elif app.state.config.TTS_ENGINE == "elevenlabs": - payload = None try: payload = json.loads(body.decode("utf-8")) except Exception as e: @@ -339,7 +334,6 @@ async def speech(request: Request, user=Depends(get_verified_user)): raise HTTPException(status_code=400, detail="Invalid JSON payload") voice_id = payload.get("voice", "") - if voice_id not in get_available_voices(): raise HTTPException( status_code=400, @@ -347,13 +341,11 @@ async def speech(request: Request, user=Depends(get_verified_user)): ) url = f"https://api.elevenlabs.io/v1/text-to-speech/{voice_id}" - headers = { "Accept": "audio/mpeg", "Content-Type": "application/json", "xi-api-key": app.state.config.TTS_API_KEY, } - data = { "text": payload["input"], "model_id": app.state.config.TTS_MODEL, @@ -361,39 +353,34 @@ async def speech(request: Request, user=Depends(get_verified_user)): } try: - r = requests.post(url, json=data, headers=headers) + async with aiohttp.ClientSession() as session: + async with session.post(url, json=data, headers=headers) as r: + r.raise_for_status() + async with aiofiles.open(file_path, "wb") as f: + await f.write(await r.read()) + + async with aiofiles.open(file_body_path, "w") as f: + await f.write(json.dumps(json.loads(body.decode("utf-8")))) - r.raise_for_status() - - # Save the streaming content to a file - with open(file_path, "wb") as f: - for chunk in r.iter_content(chunk_size=8192): - f.write(chunk) - - with open(file_body_path, "w") as f: - json.dump(json.loads(body.decode("utf-8")), f) - - # Return the saved file return FileResponse(file_path) except Exception as e: log.exception(e) error_detail = "Open WebUI: Server Connection Error" - if r is not None: - try: - res = r.json() + try: + if r.status != 200: + res = await r.json() if "error" in res: error_detail = f"External: {res['error']['message']}" - except Exception: - error_detail = f"External: {e}" + except Exception: + error_detail = f"External: {e}" raise HTTPException( - status_code=r.status_code if r != None else 500, + status_code=getattr(r, 'status', 500), detail=error_detail, ) elif app.state.config.TTS_ENGINE == "azure": - payload = None try: payload = json.loads(body.decode("utf-8")) except Exception as e: @@ -416,17 +403,20 @@ async def speech(request: Request, user=Depends(get_verified_user)): {payload["input"]} """ - response = requests.post(url, headers=headers, data=data) - - if response.status_code == 200: - with open(file_path, "wb") as f: - f.write(response.content) - return FileResponse(file_path) - else: - log.error(f"Error synthesizing speech - {response.reason}") - raise HTTPException( - status_code=500, detail=f"Error synthesizing speech - {response.reason}" - ) + try: + async with aiohttp.ClientSession() as session: + async with session.post(url, headers=headers, data=data) as response: + if response.status == 200: + async with aiofiles.open(file_path, "wb") as f: + await f.write(await response.read()) + return FileResponse(file_path) + else: + error_msg = f"Error synthesizing speech - {response.reason}" + log.error(error_msg) + raise HTTPException(status_code=500, detail=error_msg) + except Exception as e: + log.exception(e) + raise HTTPException(status_code=500, detail=str(e)) elif app.state.config.TTS_ENGINE == "transformers": payload = None try: diff --git a/backend/requirements.txt b/backend/requirements.txt index 258f69e25..c83e6b3b7 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -14,6 +14,7 @@ requests==2.32.3 aiohttp==3.10.8 async-timeout aiocache +aiofiles sqlalchemy==2.0.32 alembic==1.13.2 From c567185cb168723049e20dbc7f89d0e86856f6ac Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 23 Nov 2024 20:31:33 -0800 Subject: [PATCH 57/83] refac: rich text input behaviour --- src/app.css | 10 ++++++++++ src/lib/components/common/RichTextInput.svelte | 7 +++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index 3974974bc..ea38b2b2b 100644 --- a/src/app.css +++ b/src/app.css @@ -231,6 +231,16 @@ input[type='number'] { @apply dark:bg-gray-800 bg-gray-100; } + +.tiptap p code { + color: #eb5757; + border-width: 0px; + padding: 3px 8px; + font-size: 0.8em; + font-weight: 600; + @apply rounded-md dark:bg-gray-800 bg-gray-100 mx-0.5; +} + /* Code styling */ .hljs-comment, .hljs-quote { diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 39db40c27..3e3f79a55 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -1,7 +1,10 @@ From bd28e1ed7d42529ed4ac561c63d09a4664af147a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 24 Nov 2024 18:49:56 -0800 Subject: [PATCH 67/83] refac: rag prompt template --- backend/open_webui/apps/retrieval/utils.py | 40 ------------------ backend/open_webui/config.py | 16 ++++---- backend/open_webui/main.py | 13 +++--- backend/open_webui/utils/task.py | 47 ++++++++++++++++++++++ 4 files changed, 63 insertions(+), 53 deletions(-) diff --git a/backend/open_webui/apps/retrieval/utils.py b/backend/open_webui/apps/retrieval/utils.py index 420ed7bf4..35159f80d 100644 --- a/backend/open_webui/apps/retrieval/utils.py +++ b/backend/open_webui/apps/retrieval/utils.py @@ -15,8 +15,6 @@ from open_webui.apps.retrieval.vector.connector import VECTOR_DB_CLIENT from open_webui.utils.misc import get_last_user_message from open_webui.env import SRC_LOG_LEVELS -from open_webui.config import DEFAULT_RAG_TEMPLATE - log = logging.getLogger(__name__) log.setLevel(SRC_LOG_LEVELS["RAG"]) @@ -238,44 +236,6 @@ def query_collection_with_hybrid_search( return merge_and_sort_query_results(results, k=k, reverse=True) -def rag_template(template: str, context: str, query: str): - if template == "": - template = DEFAULT_RAG_TEMPLATE - - if "[context]" not in template and "{{CONTEXT}}" not in template: - log.debug( - "WARNING: The RAG template does not contain the '[context]' or '{{CONTEXT}}' placeholder." - ) - - if "" in context and "" in context: - log.debug( - "WARNING: Potential prompt injection attack: the RAG " - "context contains '' and ''. This might be " - "nothing, or the user might be trying to hack something." - ) - - query_placeholders = [] - if "[query]" in context: - query_placeholder = "{{QUERY" + str(uuid.uuid4()) + "}}" - template = template.replace("[query]", query_placeholder) - query_placeholders.append(query_placeholder) - - if "{{QUERY}}" in context: - query_placeholder = "{{QUERY" + str(uuid.uuid4()) + "}}" - template = template.replace("{{QUERY}}", query_placeholder) - query_placeholders.append(query_placeholder) - - template = template.replace("[context]", context) - template = template.replace("{{CONTEXT}}", context) - template = template.replace("[query]", query) - template = template.replace("{{QUERY}}", query) - - for query_placeholder in query_placeholders: - template = template.replace(query_placeholder, query) - - return template - - def get_embedding_function( embedding_engine, embedding_model, diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 8c185d146..db24403e5 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -969,16 +969,16 @@ QUERY_GENERATION_PROMPT_TEMPLATE = PersistentConfig( ) DEFAULT_QUERY_GENERATION_PROMPT_TEMPLATE = """### Task: -Based on the chat history, determine whether a search is necessary, and if so, generate a 1-3 broad search queries to retrieve comprehensive and updated information. If no search is required, return an empty list. +Analyze the chat history to determine the necessity of generating search queries. By default, **prioritize generating 1-3 broad and relevant search queries** unless it is absolutely certain that no additional information is required. The aim is to retrieve comprehensive, updated, and valuable information even with minimal uncertainty. If no search is unequivocally needed, return an empty list. ### Guidelines: -- Respond **EXCLUSIVELY** with a JSON object. Any form of extra commentary, explanation, or additional text is prohibited. -- If a search query is needed, return an object like: { "queries": ["query1", "query2"] } where each query is distinct and concise. -- If no search query is necessary, output should be: { "queries": [] } -- Default to suggesting a search query to ensure accurate and updated information, unless it is definitively clear no search is required. -- Be concise, focusing strictly on composing search queries with no additional commentary or text. -- When in doubt, prefer to suggest a search for comprehensiveness. -- Today's date is: {{CURRENT_DATE}} +- Respond **EXCLUSIVELY** with a JSON object. Any form of extra commentary, explanation, or additional text is strictly prohibited. +- When generating search queries, respond in the format: { "queries": ["query1", "query2"] }, ensuring each query is distinct, concise, and relevant to the topic. +- If and only if it is entirely certain that no useful results can be retrieved by a search, return: { "queries": [] }. +- Err on the side of suggesting search queries if there is **any chance** they might provide useful or updated information. +- Be concise and focused on composing high-quality search queries, avoiding unnecessary elaboration, commentary, or assumptions. +- Assume today's date is: {{CURRENT_DATE}}. +- Always prioritize providing actionable and broad queries that maximize informational coverage. ### Output: Strictly return in JSON format: diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 3761a0e39..4c52ceb0f 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -49,7 +49,9 @@ from open_webui.apps.openai.main import ( get_all_models_responses as get_openai_models_responses, ) from open_webui.apps.retrieval.main import app as retrieval_app -from open_webui.apps.retrieval.utils import get_sources_from_files, rag_template +from open_webui.apps.retrieval.utils import get_sources_from_files + + from open_webui.apps.socket.main import ( app as socket_app, periodic_usage_pool_cleanup, @@ -122,11 +124,12 @@ from open_webui.utils.response import ( ) from open_webui.utils.security_headers import SecurityHeadersMiddleware from open_webui.utils.task import ( - moa_response_generation_template, - tags_generation_template, - query_generation_template, - emoji_generation_template, + rag_template, title_generation_template, + query_generation_template, + tags_generation_template, + emoji_generation_template, + moa_response_generation_template, tools_function_calling_generation_template, ) from open_webui.utils.tools import get_tools diff --git a/backend/open_webui/utils/task.py b/backend/open_webui/utils/task.py index 28b07da37..b6d0d3bce 100644 --- a/backend/open_webui/utils/task.py +++ b/backend/open_webui/utils/task.py @@ -1,11 +1,20 @@ +import logging import math import re from datetime import datetime from typing import Optional +import uuid from open_webui.utils.misc import get_last_user_message, get_messages_content +from open_webui.env import SRC_LOG_LEVELS +from open_webui.config import DEFAULT_RAG_TEMPLATE + + +log = logging.getLogger(__name__) +log.setLevel(SRC_LOG_LEVELS["RAG"]) + def prompt_template( template: str, user_name: Optional[str] = None, user_location: Optional[str] = None @@ -110,6 +119,44 @@ def replace_messages_variable(template: str, messages: list[str]) -> str: # {{prompt:middletruncate:8000}} +def rag_template(template: str, context: str, query: str): + if template == "": + template = DEFAULT_RAG_TEMPLATE + + if "[context]" not in template and "{{CONTEXT}}" not in template: + log.debug( + "WARNING: The RAG template does not contain the '[context]' or '{{CONTEXT}}' placeholder." + ) + + if "" in context and "" in context: + log.debug( + "WARNING: Potential prompt injection attack: the RAG " + "context contains '' and ''. This might be " + "nothing, or the user might be trying to hack something." + ) + + query_placeholders = [] + if "[query]" in context: + query_placeholder = "{{QUERY" + str(uuid.uuid4()) + "}}" + template = template.replace("[query]", query_placeholder) + query_placeholders.append(query_placeholder) + + if "{{QUERY}}" in context: + query_placeholder = "{{QUERY" + str(uuid.uuid4()) + "}}" + template = template.replace("{{QUERY}}", query_placeholder) + query_placeholders.append(query_placeholder) + + template = template.replace("[context]", context) + template = template.replace("{{CONTEXT}}", context) + template = template.replace("[query]", query) + template = template.replace("{{QUERY}}", query) + + for query_placeholder in query_placeholders: + template = template.replace(query_placeholder, query) + + return template + + def title_generation_template( template: str, messages: list[dict], user: Optional[dict] = None ) -> str: From 840437e58fd7b3991293323f3ff6af9cb4ce7334 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 24 Nov 2024 19:07:51 -0800 Subject: [PATCH 68/83] refac: o1 title generation issue --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 61a8a54cf..03080d9b5 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1976,7 +1976,7 @@ } ); - return title; + return title ? title : (lastUserMessage?.content ?? 'New Chat'); } else { return lastUserMessage?.content ?? 'New Chat'; } From 8dc73e87440c92fd8ab41052a3b3cbfd46593911 Mon Sep 17 00:00:00 2001 From: bnodnarb <97063458+bnodnarb@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:29:54 -1000 Subject: [PATCH 69/83] Fix: Add authorization header with bearer token for remote Ollama server endpoints --- backend/open_webui/apps/ollama/main.py | 46 ++++++++++++++++++++------ 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/backend/open_webui/apps/ollama/main.py b/backend/open_webui/apps/ollama/main.py index b44f68017..0ac1f0401 100644 --- a/backend/open_webui/apps/ollama/main.py +++ b/backend/open_webui/apps/ollama/main.py @@ -195,7 +195,10 @@ async def post_streaming_url( trust_env=True, timeout=aiohttp.ClientTimeout(total=AIOHTTP_CLIENT_TIMEOUT) ) - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -210,13 +213,13 @@ async def post_streaming_url( r.raise_for_status() if stream: - headers = dict(r.headers) + response_headers = dict(r.headers) if content_type: - headers["Content-Type"] = content_type + response_headers["Content-Type"] = content_type return StreamingResponse( r.content, status_code=r.status, - headers=headers, + headers=response_headers, background=BackgroundTask( cleanup_response, response=r, session=session ), @@ -324,7 +327,10 @@ async def get_ollama_tags( else: url = app.state.config.OLLAMA_BASE_URLS[url_idx] - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {} @@ -525,7 +531,10 @@ async def copy_model( url = app.state.config.OLLAMA_BASE_URLS[url_idx] log.info(f"url: {url}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -584,7 +593,10 @@ async def delete_model( url = app.state.config.OLLAMA_BASE_URLS[url_idx] log.info(f"url: {url}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -635,7 +647,10 @@ async def show_model_info(form_data: ModelNameForm, user=Depends(get_verified_us url = app.state.config.OLLAMA_BASE_URLS[url_idx] log.info(f"url: {url}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -730,7 +745,10 @@ async def generate_ollama_embeddings( url = app.state.config.OLLAMA_BASE_URLS[url_idx] log.info(f"url: {url}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -797,7 +815,10 @@ async def generate_ollama_batch_embeddings( url = app.state.config.OLLAMA_BASE_URLS[url_idx] log.info(f"url: {url}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) key = api_config.get("key", None) headers = {"Content-Type": "application/json"} @@ -974,7 +995,10 @@ async def generate_chat_completion( log.info(f"url: {url}") log.debug(f"generate_chat_completion() - 2.payload = {payload}") - api_config = app.state.config.OLLAMA_API_CONFIGS.get(url, {}) + parsed_url = urlparse(url) + base_url = f"{parsed_url.scheme}://{parsed_url.netloc}" + + api_config = app.state.config.OLLAMA_API_CONFIGS.get(base_url, {}) prefix_id = api_config.get("prefix_id", None) if prefix_id: payload["model"] = payload["model"].replace(f"{prefix_id}.", "") From d870386d7da7c1335ebab32158028e21006b8806 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 24 Nov 2024 23:48:02 -0800 Subject: [PATCH 70/83] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 101 ++++++++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 47 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 37ac5263c..8d84a23da 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,77 +1,84 @@ # Contributor Covenant Code of Conduct ## Our Pledge +As members, contributors, and leaders of this community, we pledge to make participation in our open-source project a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, -nationality, personal appearance, race, religion, or sexual identity -and orientation. +We are committed to creating and maintaining an open, respectful, and professional environment where positive contributions and meaningful discussions can flourish. By participating in this project, you agree to uphold these values and align your behavior to the standards outlined in this Code of Conduct. -We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. +## Why These Standards Are Important +Open-source projects rely on a community of volunteers dedicating their time, expertise, and effort toward a shared goal. These projects are inherently collaborative but also fragile, as the success of the project depends on the goodwill, energy, and productivity of those involved. + +Maintaining a positive and respectful environment is essential to safeguarding the integrity of this project and protecting contributors' efforts. Behavior that disrupts this atmosphere—whether through hostility, entitlement, or unprofessional conduct—can severely harm the morale and productivity of the community. **Strict enforcement of these standards ensures a safe and supportive space for meaningful collaboration.** + +This is a community where **respect and professionalism are mandatory.** Violations of these standards will result in **zero tolerance** and immediate enforcement to prevent disruption and ensure the well-being of all participants. ## Our Standards - -Examples of behavior that contribute to a positive environment for our community include: - -- Demonstrating empathy and kindness toward other people -- Being respectful of differing opinions, viewpoints, and experiences -- Giving and gracefully accepting constructive feedback -- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -- Focusing on what is best not just for us as individuals, but for the overall community +Examples of behavior that contribute to a positive and professional community include: +- **Respecting others.** Be considerate, listen actively, and engage with empathy toward others' viewpoints and experiences. +- **Constructive feedback.** Provide actionable, thoughtful, and respectful feedback that helps improve the project and encourages collaboration. Avoid unproductive negativity or hypercriticism. +- **Recognizing volunteer contributions.** Appreciate that contributors dedicate their free time and resources selflessly. Approach them with gratitude and patience. +- **Focusing on shared goals.** Collaborate in ways that prioritize the health, success, and sustainability of the community over individual agendas. Examples of unacceptable behavior include: +- The use of discriminatory, demeaning, or sexualized language or behavior. +- Personal attacks, derogatory comments, trolling, or inflammatory political or ideological arguments. +- Harassment, intimidation, or any behavior intended to create a hostile, uncomfortable, or unsafe environment. +- Publishing others' private information (e.g., physical or email addresses) without explicit permission. +- **Entitlement, demand, or aggression toward contributors.** Volunteers are under no obligation to provide immediate or personalized support. Rude or dismissive behavior will not be tolerated. +- **Unproductive or destructive behavior.** This includes venting frustration as hostility ("tantrums"), hypercriticism, attention-seeking negativity, or anything that distracts from the project's goals. +- **Spamming and promotional exploitation.** Sharing irrelevant product promotions or self-promotion in the community is not allowed unless it directly contributes value to the discussion. -- The use of sexualized language or imagery, and sexual attention or advances of any kind -- Trolling, insulting or derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or email address, without their explicit permission -- **Spamming of any kind** -- Aggressive sales tactics targeting our community members are strictly prohibited. You can mention your product if it's relevant to the discussion, but under no circumstances should you push it forcefully -- Other conduct which could reasonably be considered inappropriate in a professional setting +### Feedback and Community Engagement +- **Constructive feedback is encouraged, but hostile or entitled behavior will result in immediate action.** If you disagree with elements of the project, we encourage you to offer meaningful improvements or fork the project if necessary. Healthy discussions and technical disagreements are welcome only when handled with professionalism. +- **Respect contributors' time and efforts.** No one is entitled to personalized or on-demand assistance. This is a community built on collaboration and shared effort; demanding or demeaning behavior undermines that trust and will not be allowed. + +### Zero Tolerance: No Warnings, Immediate Action +This community operates under a **zero-tolerance policy.** Any behavior deemed unacceptable under this Code of Conduct will result in **immediate enforcement, without prior warning.** + +We employ this approach to ensure that unproductive or disruptive behavior does not escalate further or cause unnecessary harm to other contributors. The standards are clear, and violations of any kind—whether mild or severe—will be addressed decisively to protect the community. ## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. +Community leaders are responsible for upholding and enforcing these standards. They are empowered to take **immediate and appropriate action** to address any behaviors they deem unacceptable under this Code of Conduct. These actions are taken with the goal of protecting the community and preserving its safe, positive, and productive environment. ## Scope +This Code of Conduct applies to all community spaces, including forums, repositories, social media accounts, and in-person events. It also applies when an individual represents the community in public settings, such as conferences or official communications. -This Code of Conduct applies within all community spaces and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. +Additionally, any behavior outside of these defined spaces that negatively impacts the community or its members may fall within the scope of this Code of Conduct. -## Enforcement +## Reporting Violations +Instances of unacceptable behavior can be reported to the leadership team at **hello@openwebui.com**. Reports will be handled promptly, confidentially, and with consideration for the safety and well-being of the reporter. -Instances of abusive, harassing, spamming, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at hello@openwebui.com. All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the reporter of any incident. +All community leaders are required to uphold confidentiality and impartiality when addressing reports of violations. ## Enforcement Guidelines +### Ban +**Community Impact**: Community leaders will issue a ban to any participant whose behavior is deemed unacceptable according to this Code of Conduct. Bans are enforced immediately and without prior notice. -Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: +A ban may be temporary or permanent, depending on the severity of the violation. This includes—but is not limited to—behavior such as: +- Harassment or abusive behavior toward contributors. +- Persistent negativity or hostility that disrupts the collaborative environment. +- Disrespectful, demanding, or aggressive interactions with others. +- Attempts to cause harm or sabotage the community. -### 1. Temporary Ban +**Consequence**: A banned individual is immediately removed from access to all community spaces, communication channels, and events. Community leaders reserve the right to enforce either a time-limited suspension or a permanent ban based on the specific circumstances of the violation. -**Community Impact**: Any violation of community standards, including but not limited to inappropriate language, unprofessional behavior, harassment, or spamming. +This approach ensures that disruptive behaviors are addressed swiftly and decisively in order to maintain the integrity and productivity of the community. -**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. +## Why Zero Tolerance Is Necessary +Open-source projects thrive on collaboration, goodwill, and mutual respect. Toxic behaviors—such as entitlement, hostility, or persistent negativity—threaten not just individual contributors but the health of the project as a whole. Allowing such behaviors to persist robs contributors of their time, energy, and enthusiasm for the work they do. -### 2. Permanent Ban +By enforcing a zero-tolerance policy, we ensure that the community remains a safe, welcoming space for all participants. These measures are not about harshness—they are about protecting contributors and fostering a productive environment where innovation can thrive. -**Community Impact**: Repeated or severe violations of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within the community. +Our expectations are clear, and our enforcement reflects our commitment to this project's long-term success. ## Attribution +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. -This Code of Conduct is adapted from the [Contributor Covenant][homepage], -version 2.0, available at -https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). -Community Impact Guidelines were inspired by [Mozilla's code of conduct -enforcement ladder](https://github.com/mozilla/diversity). +[homepage]: https://www.contributor-covenant.org -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see the FAQ at -https://www.contributor-covenant.org/faq. Translations are available at -https://www.contributor-covenant.org/translations. +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. \ No newline at end of file From c4f82309dc6283b8737975f5d3cc5019e19eb0f3 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 25 Nov 2024 16:11:49 -0800 Subject: [PATCH 71/83] fix: min_p save issue --- src/lib/components/chat/Settings/General.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 9c1ccb7f7..694648206 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -55,6 +55,7 @@ mirostat_tau: null, top_k: null, top_p: null, + min_p: null, stop: null, tfs_z: null, num_ctx: null, @@ -340,6 +341,7 @@ mirostat_tau: params.mirostat_tau !== null ? params.mirostat_tau : undefined, top_k: params.top_k !== null ? params.top_k : undefined, top_p: params.top_p !== null ? params.top_p : undefined, + min_p: params.min_p !== null ? params.min_p : undefined, tfs_z: params.tfs_z !== null ? params.tfs_z : undefined, num_ctx: params.num_ctx !== null ? params.num_ctx : undefined, num_batch: params.num_batch !== null ? params.num_batch : undefined, From f9e24968e3d421e87d850166d7a528e3bd6772fd Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 25 Nov 2024 22:43:34 -0800 Subject: [PATCH 72/83] fix: input issue --- src/lib/components/chat/MessageInput.svelte | 102 ++++++++++-------- .../components/common/RichTextInput.svelte | 17 +-- 2 files changed, 60 insertions(+), 59 deletions(-) diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 9016e979d..042159bb4 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -592,29 +592,6 @@ placeholder={placeholder ? placeholder : $i18n.t('Send a Message')} largeTextAsFile={$settings?.largeTextAsFile ?? false} bind:value={prompt} - on:enter={async (e) => { - const commandsContainerElement = - document.getElementById('commands-container'); - if (commandsContainerElement) { - e.preventDefault(); - - const commandOptionButton = [ - ...document.getElementsByClassName('selected-command-option-button') - ]?.at(-1); - - if (commandOptionButton) { - commandOptionButton?.click(); - return; - } - } - - if (prompt !== '') { - dispatch('submit', prompt); - } - }} - on:keypress={(e) => { - e = e.detail.event; - }} on:keydown={async (e) => { e = e.detail.event; @@ -657,34 +634,69 @@ editButton?.click(); } - if (commandsContainerElement && e.key === 'ArrowUp') { - e.preventDefault(); - commandsElement.selectUp(); + if (commandsContainerElement) { + if (commandsContainerElement && e.key === 'ArrowUp') { + e.preventDefault(); + commandsElement.selectUp(); - const commandOptionButton = [ - ...document.getElementsByClassName('selected-command-option-button') - ]?.at(-1); - commandOptionButton.scrollIntoView({ block: 'center' }); - } + const commandOptionButton = [ + ...document.getElementsByClassName('selected-command-option-button') + ]?.at(-1); + commandOptionButton.scrollIntoView({ block: 'center' }); + } - if (commandsContainerElement && e.key === 'ArrowDown') { - e.preventDefault(); - commandsElement.selectDown(); + if (commandsContainerElement && e.key === 'ArrowDown') { + e.preventDefault(); + commandsElement.selectDown(); - const commandOptionButton = [ - ...document.getElementsByClassName('selected-command-option-button') - ]?.at(-1); - commandOptionButton.scrollIntoView({ block: 'center' }); - } + const commandOptionButton = [ + ...document.getElementsByClassName('selected-command-option-button') + ]?.at(-1); + commandOptionButton.scrollIntoView({ block: 'center' }); + } - if (commandsContainerElement && e.key === 'Tab') { - e.preventDefault(); + if (commandsContainerElement && e.key === 'Tab') { + e.preventDefault(); - const commandOptionButton = [ - ...document.getElementsByClassName('selected-command-option-button') - ]?.at(-1); + const commandOptionButton = [ + ...document.getElementsByClassName('selected-command-option-button') + ]?.at(-1); - commandOptionButton?.click(); + commandOptionButton?.click(); + } + + if (commandsContainerElement && e.key === 'Enter') { + e.preventDefault(); + + const commandOptionButton = [ + ...document.getElementsByClassName('selected-command-option-button') + ]?.at(-1); + + if (commandOptionButton) { + commandOptionButton?.click(); + } else { + document.getElementById('send-message-button')?.click(); + } + } + } else { + if ( + !$mobile || + !( + 'ontouchstart' in window || + navigator.maxTouchPoints > 0 || + navigator.msMaxTouchPoints > 0 + ) + ) { + // Prevent Enter key from creating a new line + if (e.keyCode === 13 && !e.shiftKey) { + e.preventDefault(); + } + + // Submit the prompt when Enter key is pressed + if (prompt !== '' && e.keyCode === 13 && !e.shiftKey) { + dispatch('submit', prompt); + } + } } if (e.key === 'Escape') { diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index 8200154fa..fc24ab063 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -171,11 +171,10 @@ eventDispatch('focus', { event }); return false; }, - keypress: (view, event) => { - eventDispatch('keypress', { event }); + keyup: (view, event) => { + eventDispatch('keyup', { event }); return false; }, - keydown: (view, event) => { // Handle Tab Key if (event.key === 'Tab') { @@ -217,22 +216,12 @@ // Handle shift + Enter for a line break if (shiftEnter) { - if (event.key === 'Enter' && event.shiftKey) { + if (event.key === 'Enter' && event.shiftKey && !event.ctrlKey && !event.metaKey) { editor.commands.setHardBreak(); // Insert a hard break view.dispatch(view.state.tr.scrollIntoView()); // Move viewport to the cursor event.preventDefault(); return true; } - if (event.key === 'Enter') { - eventDispatch('enter', { event }); - event.preventDefault(); - return true; - } - } - if (event.key === 'Enter') { - eventDispatch('enter', { event }); - event.preventDefault(); - return true; } } eventDispatch('keydown', { event }); From 29fac5eccaacdf061ebfa1b0064f7c3efb3c5e30 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 25 Nov 2024 22:57:54 -0800 Subject: [PATCH 73/83] refac: admin models settings --- src/lib/components/admin/Settings/Models.svelte | 13 ++++++++++--- src/lib/components/chat/MessageInput.svelte | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lib/components/admin/Settings/Models.svelte b/src/lib/components/admin/Settings/Models.svelte index b7084d8ce..920d280f5 100644 --- a/src/lib/components/admin/Settings/Models.svelte +++ b/src/lib/components/admin/Settings/Models.svelte @@ -38,9 +38,16 @@ let showResetModal = false; $: if (models) { - filteredModels = models.filter( - (m) => searchValue === '' || m.name.toLowerCase().includes(searchValue.toLowerCase()) - ); + filteredModels = models + .filter((m) => searchValue === '' || m.name.toLowerCase().includes(searchValue.toLowerCase())) + .sort((a, b) => { + // Check if either model is inactive and push them to the bottom + if ((a.is_active ?? true) !== (b.is_active ?? true)) { + return (b.is_active ?? true) - (a.is_active ?? true); + } + // If both models' active states are the same, sort alphabetically + return a.name.localeCompare(b.name); + }); } let searchValue = ''; diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 042159bb4..16e3cdb91 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -688,6 +688,7 @@ ) ) { // Prevent Enter key from creating a new line + // Uses keyCode '13' for Enter key for chinese/japanese keyboards if (e.keyCode === 13 && !e.shiftKey) { e.preventDefault(); } From 2b4e8f6ceac2611b5d0cb1522fa315dc0ee026a2 Mon Sep 17 00:00:00 2001 From: Pieter Becking Date: Tue, 26 Nov 2024 09:42:13 +0100 Subject: [PATCH 74/83] fix(i18n): Correct capitalization typo in Dutch localization (GRoepen -> Groepen) --- src/lib/i18n/locales/nl-NL/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 1d5dc32b9..b6cc5d051 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -441,7 +441,7 @@ "Group Description": "Groepsbeschrijving", "Group Name": "Groepsnaam", "Group updated successfully": "Groep succesvol bijgewerkt", - "Groups": "GRoepen", + "Groups": "Groepen", "h:mm a": "h:mm a", "Haptic Feedback": "Haptische feedback", "has no conversations.": "heeft geen gesprekken.", From 5fac25a0028f4cb625a78de3926b2258209b7b00 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 26 Nov 2024 00:55:58 -0800 Subject: [PATCH 75/83] enh: reintroduce model order/default models --- backend/open_webui/apps/webui/main.py | 2 + .../open_webui/apps/webui/routers/configs.py | 45 +-- backend/open_webui/config.py | 6 + backend/open_webui/main.py | 8 + src/lib/apis/configs/index.ts | 38 ++- src/lib/apis/index.ts | 20 -- .../Evaluations/ArenaModelModal.svelte | 4 +- .../components/admin/Settings/Models.svelte | 26 +- .../Models/ConfigureModelsModal.svelte | 258 ++++++++++++++++++ .../admin/Settings/Models/ModelList.svelte | 58 ++++ src/lib/components/chat/ModelSelector.svelte | 2 - src/lib/components/common/Modal.svelte | 6 +- 12 files changed, 407 insertions(+), 66 deletions(-) create mode 100644 src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte create mode 100644 src/lib/components/admin/Settings/Models/ModelList.svelte diff --git a/backend/open_webui/apps/webui/main.py b/backend/open_webui/apps/webui/main.py index bedd49ae3..054c6280e 100644 --- a/backend/open_webui/apps/webui/main.py +++ b/backend/open_webui/apps/webui/main.py @@ -31,6 +31,7 @@ from open_webui.config import ( DEFAULT_MODELS, DEFAULT_PROMPT_SUGGESTIONS, DEFAULT_USER_ROLE, + MODEL_ORDER_LIST, ENABLE_COMMUNITY_SHARING, ENABLE_LOGIN_FORM, ENABLE_MESSAGE_RATING, @@ -120,6 +121,7 @@ app.state.config.DEFAULT_USER_ROLE = DEFAULT_USER_ROLE app.state.config.USER_PERMISSIONS = USER_PERMISSIONS app.state.config.WEBHOOK_URL = WEBHOOK_URL app.state.config.BANNERS = WEBUI_BANNERS +app.state.config.MODEL_ORDER_LIST = MODEL_ORDER_LIST app.state.config.ENABLE_COMMUNITY_SHARING = ENABLE_COMMUNITY_SHARING app.state.config.ENABLE_MESSAGE_RATING = ENABLE_MESSAGE_RATING diff --git a/backend/open_webui/apps/webui/routers/configs.py b/backend/open_webui/apps/webui/routers/configs.py index 1c30b0b3b..b19fc1745 100644 --- a/backend/open_webui/apps/webui/routers/configs.py +++ b/backend/open_webui/apps/webui/routers/configs.py @@ -34,8 +34,32 @@ async def export_config(user=Depends(get_admin_user)): return get_config() -class SetDefaultModelsForm(BaseModel): - models: str +############################ +# SetDefaultModels +############################ +class ModelsConfigForm(BaseModel): + DEFAULT_MODELS: str + MODEL_ORDER_LIST: list[str] + + +@router.get("/models", response_model=ModelsConfigForm) +async def get_models_config(request: Request, user=Depends(get_admin_user)): + return { + "DEFAULT_MODELS": request.app.state.config.DEFAULT_MODELS, + "MODEL_ORDER_LIST": request.app.state.config.MODEL_ORDER_LIST, + } + + +@router.post("/models", response_model=ModelsConfigForm) +async def set_models_config( + request: Request, form_data: ModelsConfigForm, user=Depends(get_admin_user) +): + request.app.state.config.DEFAULT_MODELS = form_data.DEFAULT_MODELS + request.app.state.config.MODEL_ORDER_LIST = form_data.MODEL_ORDER_LIST + return { + "DEFAULT_MODELS": request.app.state.config.DEFAULT_MODELS, + "MODEL_ORDER_LIST": request.app.state.config.MODEL_ORDER_LIST, + } class PromptSuggestion(BaseModel): @@ -47,21 +71,8 @@ class SetDefaultSuggestionsForm(BaseModel): suggestions: list[PromptSuggestion] -############################ -# SetDefaultModels -############################ - - -@router.post("/default/models", response_model=str) -async def set_global_default_models( - request: Request, form_data: SetDefaultModelsForm, user=Depends(get_admin_user) -): - request.app.state.config.DEFAULT_MODELS = form_data.models - return request.app.state.config.DEFAULT_MODELS - - -@router.post("/default/suggestions", response_model=list[PromptSuggestion]) -async def set_global_default_suggestions( +@router.post("/suggestions", response_model=list[PromptSuggestion]) +async def set_default_suggestions( request: Request, form_data: SetDefaultSuggestionsForm, user=Depends(get_admin_user), diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index db24403e5..3c1ee798d 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -740,6 +740,12 @@ DEFAULT_PROMPT_SUGGESTIONS = PersistentConfig( ], ) +MODEL_ORDER_LIST = PersistentConfig( + "MODEL_ORDER_LIST", + "ui.model_order_list", + [], +) + DEFAULT_USER_ROLE = PersistentConfig( "DEFAULT_USER_ROLE", "ui.default_user_role", diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 4c52ceb0f..0dca21b08 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1194,6 +1194,14 @@ async def get_models(user=Depends(get_verified_user)): if "pipeline" not in model or model["pipeline"].get("type", None) != "filter" ] + model_order_list = webui_app.state.config.MODEL_ORDER_LIST + if model_order_list: + model_order_dict = {model_id: i for i, model_id in enumerate(model_order_list)} + # Sort models by order list priority, with fallback for those not in the list + models.sort( + key=lambda x: (model_order_dict.get(x["id"], float("inf")), x["name"]) + ) + # Filter out models that the user does not have access to if user.role == "user": filtered_models = [] diff --git a/src/lib/apis/configs/index.ts b/src/lib/apis/configs/index.ts index 0c4de6ad6..b3b002557 100644 --- a/src/lib/apis/configs/index.ts +++ b/src/lib/apis/configs/index.ts @@ -58,17 +58,46 @@ export const exportConfig = async (token: string) => { return res; }; -export const setDefaultModels = async (token: string, models: string) => { + +export const getModelsConfig = async (token: string) => { let error = null; - const res = await fetch(`${WEBUI_API_BASE_URL}/configs/default/models`, { + const res = await fetch(`${WEBUI_API_BASE_URL}/configs/models`, { + method: 'GET', + headers: { + 'Content-Type': 'application/json', + Authorization: `Bearer ${token}` + } + }) + .then(async (res) => { + if (!res.ok) throw await res.json(); + return res.json(); + }) + .catch((err) => { + console.log(err); + error = err.detail; + return null; + }); + + if (error) { + throw error; + } + + return res; +}; + + +export const setModelsConfig = async (token: string, config: object) => { + let error = null; + + const res = await fetch(`${WEBUI_API_BASE_URL}/configs/models`, { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${token}` }, body: JSON.stringify({ - models: models + ...config }) }) .then(async (res) => { @@ -88,10 +117,11 @@ export const setDefaultModels = async (token: string, models: string) => { return res; }; + export const setDefaultPromptSuggestions = async (token: string, promptSuggestions: string) => { let error = null; - const res = await fetch(`${WEBUI_API_BASE_URL}/configs/default/suggestions`, { + const res = await fetch(`${WEBUI_API_BASE_URL}/configs/suggestions`, { method: 'POST', headers: { 'Content-Type': 'application/json', diff --git a/src/lib/apis/index.ts b/src/lib/apis/index.ts index 9c726e4d0..a33610c31 100644 --- a/src/lib/apis/index.ts +++ b/src/lib/apis/index.ts @@ -25,26 +25,6 @@ export const getModels = async (token: string = '', base: boolean = false) => { } let models = res?.data ?? []; - models = models - .filter((models) => models) - // Sort the models - .sort((a, b) => { - // Compare case-insensitively by name for models without position property - const lowerA = a.name.toLowerCase(); - const lowerB = b.name.toLowerCase(); - - if (lowerA < lowerB) return -1; - if (lowerA > lowerB) return 1; - - // If same case-insensitively, sort by original strings, - // lowercase will come before uppercase due to ASCII values - if (a.name < b.name) return -1; - if (a.name > b.name) return 1; - - return 0; // They are equal - }); - - console.log(models); return models; }; diff --git a/src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte b/src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte index 5f64137e4..ac45e7f2c 100644 --- a/src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte +++ b/src/lib/components/admin/Settings/Evaluations/ArenaModelModal.svelte @@ -375,7 +375,7 @@
{#if edit}
- +
diff --git a/src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte b/src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte new file mode 100644 index 000000000..be7fc8a45 --- /dev/null +++ b/src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte @@ -0,0 +1,258 @@ + + + { + const res = deleteAllModels(localStorage.token); + if (res) { + toast.success($i18n.t('All models deleted successfully')); + init(); + } + }} +/> + + +
+
+
+ {$i18n.t('Configure Models')} +
+ +
+ +
+
+ {#if config} +
{ + submitHandler(); + }} + > +
+
+
+
{$i18n.t('Reorder Models')}
+
+ + +
+
+ +
+ +
+
+
+
{$i18n.t('Default Models')}
+
+ + {#if defaultModelIds.length > 0} +
+ {#each defaultModelIds as modelId, modelIdx} +
+
+ {$models.find((model) => model.id === modelId)?.name} +
+
+ +
+
+ {/each} +
+ {:else} +
+ {$i18n.t('No models selected')} +
+ {/if} + +
+ +
+ + +
+ +
+
+
+
+ +
+ + + + + +
+
+ {:else} +
+ +
+ {/if} +
+
+
+
diff --git a/src/lib/components/admin/Settings/Models/ModelList.svelte b/src/lib/components/admin/Settings/Models/ModelList.svelte new file mode 100644 index 000000000..c54d19ee4 --- /dev/null +++ b/src/lib/components/admin/Settings/Models/ModelList.svelte @@ -0,0 +1,58 @@ + + +{#if modelIds.length > 0} +
+ {#each modelIds as modelId, modelIdx (modelId)} +
+ +
+ + +
+ {#if $models.find((model) => model.id === modelId)} + {$models.find((model) => model.id === modelId).name} + {:else} + {modelId} + {/if} +
+
+
+
+ {/each} +
+{:else} +
+ {$i18n.t('No models found')} +
+{/if} diff --git a/src/lib/components/chat/ModelSelector.svelte b/src/lib/components/chat/ModelSelector.svelte index 9b16a6500..9b77cd8ce 100644 --- a/src/lib/components/chat/ModelSelector.svelte +++ b/src/lib/components/chat/ModelSelector.svelte @@ -5,9 +5,7 @@ import Selector from './ModelSelector/Selector.svelte'; import Tooltip from '../common/Tooltip.svelte'; - import { setDefaultModels } from '$lib/apis/configs'; import { updateUserSettings } from '$lib/apis/users'; - const i18n = getContext('i18n'); export let selectedModels = ['']; diff --git a/src/lib/components/common/Modal.svelte b/src/lib/components/common/Modal.svelte index 795d3d0f1..86c741e23 100644 --- a/src/lib/components/common/Modal.svelte +++ b/src/lib/components/common/Modal.svelte @@ -6,7 +6,7 @@ export let show = true; export let size = 'md'; - export let className = 'bg-gray-50 dark:bg-gray-900 rounded-2xl'; + export let className = 'bg-gray-50 dark:bg-gray-900 rounded-2xl'; let modalElement = null; let mounted = false; @@ -65,7 +65,7 @@