From 5e35aab2923444d48163334cfc691587837cb1d3 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 5 Jun 2025 01:12:28 +0400 Subject: [PATCH] chore: format --- backend/open_webui/retrieval/loaders/main.py | 9 ++--- backend/open_webui/routers/openai.py | 9 +++-- backend/open_webui/utils/payload.py | 4 +-- backend/open_webui/utils/response.py | 35 ++++++++++++------- .../components/layout/Sidebar/ChatItem.svelte | 6 ++-- src/lib/i18n/locales/ar-BH/translation.json | 2 ++ src/lib/i18n/locales/ar/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/bo-TB/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/el-GR/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/et-EE/translation.json | 2 ++ src/lib/i18n/locales/eu-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/sk-SK/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 ++ 57 files changed, 139 insertions(+), 28 deletions(-) diff --git a/backend/open_webui/retrieval/loaders/main.py b/backend/open_webui/retrieval/loaders/main.py index 73e061f751..103a9dc935 100644 --- a/backend/open_webui/retrieval/loaders/main.py +++ b/backend/open_webui/retrieval/loaders/main.py @@ -146,10 +146,7 @@ class DoclingLoader: ) } - params = { - "image_export_mode": "placeholder", - "table_mode": "accurate" - } + params = {"image_export_mode": "placeholder", "table_mode": "accurate"} if self.params: if self.params.get("do_picture_description"): @@ -293,8 +290,8 @@ class Loader: "ocr_lang": self.kwargs.get("DOCLING_OCR_LANG"), "do_picture_description": self.kwargs.get( "DOCLING_DO_PICTURE_DESCRIPTION" - ) - } + ), + }, ) elif ( self.engine == "document_intelligence" diff --git a/backend/open_webui/routers/openai.py b/backend/open_webui/routers/openai.py index 486246b640..7649271fee 100644 --- a/backend/open_webui/routers/openai.py +++ b/backend/open_webui/routers/openai.py @@ -886,15 +886,16 @@ async def generate_chat_completion( r.close() await session.close() + async def embeddings(request: Request, form_data: dict, user): """ Calls the embeddings endpoint for OpenAI-compatible providers. - + Args: request (Request): The FastAPI request context. form_data (dict): OpenAI-compatible embeddings payload. user (UserModel): The authenticated user. - + Returns: dict: OpenAI-compatible embeddings response. """ @@ -928,7 +929,8 @@ async def embeddings(request: Request, form_data: dict, user): "X-OpenWebUI-User-Email": user.email, "X-OpenWebUI-User-Role": user.role, } - if ENABLE_FORWARD_USER_INFO_HEADERS and user else {} + if ENABLE_FORWARD_USER_INFO_HEADERS and user + else {} ), }, ) @@ -966,6 +968,7 @@ async def embeddings(request: Request, form_data: dict, user): r.close() await session.close() + @router.api_route("/{path:path}", methods=["GET", "POST", "PUT", "DELETE"]) async def proxy(path: str, request: Request, user=Depends(get_verified_user)): """ diff --git a/backend/open_webui/utils/payload.py b/backend/open_webui/utils/payload.py index 260b98032a..8bf705ecf0 100644 --- a/backend/open_webui/utils/payload.py +++ b/backend/open_webui/utils/payload.py @@ -341,9 +341,7 @@ def convert_embedding_payload_openai_to_ollama(openai_payload: dict) -> dict: Returns: dict: A payload compatible with the Ollama API embeddings endpoint. """ - ollama_payload = { - "model": openai_payload.get("model") - } + ollama_payload = {"model": openai_payload.get("model")} input_value = openai_payload.get("input") # Ollama expects 'input' as a list, and 'prompt' as a single string. diff --git a/backend/open_webui/utils/response.py b/backend/open_webui/utils/response.py index b454325d8a..f71087e4ff 100644 --- a/backend/open_webui/utils/response.py +++ b/backend/open_webui/utils/response.py @@ -126,12 +126,13 @@ async def convert_streaming_response_ollama_to_openai(ollama_streaming_response) yield "data: [DONE]\n\n" + def convert_embedding_response_ollama_to_openai(response) -> dict: """ Convert the response from Ollama embeddings endpoint to the OpenAI-compatible format. Args: - response (dict): The response from the Ollama API, + response (dict): The response from the Ollama API, e.g. {"embedding": [...], "model": "..."} or {"embeddings": [{"embedding": [...], "index": 0}, ...], "model": "..."} @@ -150,11 +151,13 @@ def convert_embedding_response_ollama_to_openai(response) -> dict: if isinstance(response, dict) and "embeddings" in response: openai_data = [] for i, emb in enumerate(response["embeddings"]): - openai_data.append({ - "object": "embedding", - "embedding": emb.get("embedding"), - "index": emb.get("index", i), - }) + openai_data.append( + { + "object": "embedding", + "embedding": emb.get("embedding"), + "index": emb.get("index", i), + } + ) return { "object": "list", "data": openai_data, @@ -164,16 +167,22 @@ def convert_embedding_response_ollama_to_openai(response) -> dict: elif isinstance(response, dict) and "embedding" in response: return { "object": "list", - "data": [{ - "object": "embedding", - "embedding": response["embedding"], - "index": 0, - }], + "data": [ + { + "object": "embedding", + "embedding": response["embedding"], + "index": 0, + } + ], "model": response.get("model"), } # Already OpenAI-compatible? - elif isinstance(response, dict) and "data" in response and isinstance(response["data"], list): + elif ( + isinstance(response, dict) + and "data" in response + and isinstance(response["data"], list) + ): return response # Fallback: return as is if unrecognized - return response \ No newline at end of file + return response diff --git a/src/lib/components/layout/Sidebar/ChatItem.svelte b/src/lib/components/layout/Sidebar/ChatItem.svelte index 3a5330dbdb..9362c16105 100644 --- a/src/lib/components/layout/Sidebar/ChatItem.svelte +++ b/src/lib/components/layout/Sidebar/ChatItem.svelte @@ -205,9 +205,9 @@ if (e.key === 'Enter') { e.preventDefault(); setTimeout(() => { - const input = document.getElementById(`chat-title-input-${id}`); - if (input) input.blur(); - }, 0); + const input = document.getElementById(`chat-title-input-${id}`); + if (input) input.blur(); + }, 0); } else if (e.key === 'Escape') { e.preventDefault(); confirmEdit = false; diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index 506d5fb784..44d285898e 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "{{error}} تم رفض الإذن عند الوصول إلى الميكروفون ", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "التخصيص", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/ar/translation.json b/src/lib/i18n/locales/ar/translation.json index c442c3b487..d05c64f952 100644 --- a/src/lib/i18n/locales/ar/translation.json +++ b/src/lib/i18n/locales/ar/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "{{error}} تم رفض الإذن عند الوصول إلى الميكروفون ", "Permissions": "الأذونات", "Perplexity API Key": "مفتاح API لـ Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "التخصيص", "Pin": "تثبيت", "Pinned": "مثبت", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index 189a5c040f..b9d8aa5f68 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Отказан достъп при опит за достъп до микрофона: {{error}}", "Permissions": "Разрешения", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Персонализация", "Pin": "Закачи", "Pinned": "Закачено", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index c44473c82d..3e6a33fc31 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "মাইক্রোফোন ব্যবহারের অনুমতি পাওয়া যায়নি: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "ডিজিটাল বাংলা", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/bo-TB/translation.json b/src/lib/i18n/locales/bo-TB/translation.json index c09f55068f..bf47d74471 100644 --- a/src/lib/i18n/locales/bo-TB/translation.json +++ b/src/lib/i18n/locales/bo-TB/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "སྐད་སྒྲ་འཛིན་ཆས་འཛུལ་སྤྱོད་སྐབས་དབང་ཚད་ཁས་མ་བླངས།: {{error}}", "Permissions": "དབང་ཚད།", "Perplexity API Key": "Perplexity API ལྡེ་མིག", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "སྒེར་སྤྱོད་ཅན།", "Pin": "གདབ་པ།", "Pinned": "གདབ་ཟིན།", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index abc235c444..63d2089669 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permís denegat en accedir al micròfon: {{error}}", "Permissions": "Permisos", "Perplexity API Key": "Clau API de Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalització", "Pin": "Fixar", "Pinned": "Fixat", diff --git a/src/lib/i18n/locales/ceb-PH/translation.json b/src/lib/i18n/locales/ceb-PH/translation.json index 0786fff601..b5b3949326 100644 --- a/src/lib/i18n/locales/ceb-PH/translation.json +++ b/src/lib/i18n/locales/ceb-PH/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Gidili ang pagtugot sa dihang nag-access sa mikropono: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/cs-CZ/translation.json b/src/lib/i18n/locales/cs-CZ/translation.json index 32296b30f3..7bfc7c8488 100644 --- a/src/lib/i18n/locales/cs-CZ/translation.json +++ b/src/lib/i18n/locales/cs-CZ/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Oprávnění zamítnuto při přístupu k mikrofonu: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizace", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index a8f69c5086..fe8710504a 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Tilladelse nægtet ved adgang til mikrofon: {{error}}", "Permissions": "Tilladelser", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisering", "Pin": "Fastgør", "Pinned": "Fastgjort", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index d4d28fca58..9d69c31fa5 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Zugriff auf das Mikrofon verweigert: {{error}}", "Permissions": "Berechtigungen", "Perplexity API Key": "Perplexity API-Schlüssel", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisierung", "Pin": "Anheften", "Pinned": "Angeheftet", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index defa48d789..bda875f137 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permission denied when accessing microphone: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalization", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/el-GR/translation.json b/src/lib/i18n/locales/el-GR/translation.json index cc8957d408..784d5f31d1 100644 --- a/src/lib/i18n/locales/el-GR/translation.json +++ b/src/lib/i18n/locales/el-GR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Άρνηση δικαιώματος κατά την πρόσβαση σε μικρόφωνο: {{error}}", "Permissions": "Δικαιώματα", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Προσωποποίηση", "Pin": "Καρφίτσωμα", "Pinned": "Καρφιτσωμένο", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index 9106682801..ebc9784085 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index 9106682801..ebc9784085 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index 720f2a8222..2adba5c02e 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permiso denegado accediendo al micrófono: {{error}}", "Permissions": "Permisos", "Perplexity API Key": "Clave API de Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalización", "Pin": "Fijar", "Pinned": "Fijado", diff --git a/src/lib/i18n/locales/et-EE/translation.json b/src/lib/i18n/locales/et-EE/translation.json index d8e2ddbf74..689b508389 100644 --- a/src/lib/i18n/locales/et-EE/translation.json +++ b/src/lib/i18n/locales/et-EE/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Juurdepääs mikrofonile keelatud: {{error}}", "Permissions": "Õigused", "Perplexity API Key": "Perplexity API võti", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Isikupärastamine", "Pin": "Kinnita", "Pinned": "Kinnitatud", diff --git a/src/lib/i18n/locales/eu-ES/translation.json b/src/lib/i18n/locales/eu-ES/translation.json index 57448d53bd..ed85660fee 100644 --- a/src/lib/i18n/locales/eu-ES/translation.json +++ b/src/lib/i18n/locales/eu-ES/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Baimena ukatu da mikrofonoa atzitzean: {{error}}", "Permissions": "Baimenak", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Pertsonalizazioa", "Pin": "Ainguratu", "Pinned": "Ainguratuta", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index d4a3c90b14..d5c58dbf0c 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "هنگام دسترسی به میکروفون، اجازه داده نشد: {{error}}", "Permissions": "مجوزها", "Perplexity API Key": "کلید API پرپلکسیتی", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "شخصی سازی", "Pin": "پین کردن", "Pinned": "پین شده", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index 8657c56bc4..76227d40d6 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Käyttöoikeus evätty mikrofonille: {{error}}", "Permissions": "Käyttöoikeudet", "Perplexity API Key": "Perplexity API-avain", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personointi", "Pin": "Kiinnitä", "Pinned": "Kiinnitetty", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index 77be2cdeca..8efa3e4afe 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permission refusée lors de l'accès au microphone : {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personnalisation", "Pin": "Épingler", "Pinned": "Épinglé", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index dd33e3916a..7e44b6a3f4 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Accès au microphone refusé : {{error}}", "Permissions": "Permissions", "Perplexity API Key": "Clé d'API de Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personnalisation", "Pin": "Épingler", "Pinned": "Épinglé", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index b74a7dd58e..0ffbfce49f 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "ההרשאה נדחתה בעת גישה למיקרופון: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "תאור", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index 08b719a1ed..792e850a96 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "माइक्रोफ़ोन तक पहुँचने पर अनुमति अस्वीकृत: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "पेरसनलाइज़मेंट", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index 50f844904e..0febf7b376 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Pristup mikrofonu odbijen: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Prilagodba", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/hu-HU/translation.json b/src/lib/i18n/locales/hu-HU/translation.json index fcade4425e..1e414a7e6d 100644 --- a/src/lib/i18n/locales/hu-HU/translation.json +++ b/src/lib/i18n/locales/hu-HU/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Hozzáférés megtagadva a mikrofonhoz: {{error}}", "Permissions": "Engedélyek", "Perplexity API Key": "Perplexity API kulcs", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Személyre szabás", "Pin": "Rögzítés", "Pinned": "Rögzítve", diff --git a/src/lib/i18n/locales/id-ID/translation.json b/src/lib/i18n/locales/id-ID/translation.json index f877d4c193..0d1ee28970 100644 --- a/src/lib/i18n/locales/id-ID/translation.json +++ b/src/lib/i18n/locales/id-ID/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Izin ditolak saat mengakses mikrofon: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisasi", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index d21c2b19a1..ac632e21ea 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Cead diúltaithe agus tú ag teacht ar mhicreafón: {{error}}", "Permissions": "Ceadanna", "Perplexity API Key": "Eochair API Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Pearsantú", "Pin": "Bioráin", "Pinned": "Pinneáilte", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index c96fb4bf94..45c3c96577 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Autorizzazione negata durante l'accesso al microfono: {{error}}", "Permissions": "Permessi", "Perplexity API Key": "Chiave API Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizzazione", "Pin": "Fissa", "Pinned": "Fissato", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 750258ea90..ab3cc4251c 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "マイクへのアクセス時に権限が拒否されました: {{error}}", "Permissions": "許可", "Perplexity API Key": "Perplexity API キー", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "個人化", "Pin": "ピン留め", "Pinned": "ピン留めされています", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 3937c3ffc2..62d129a22e 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "ნებართვა უარყოფილია მიკროფონზე წვდომისას: {{error}}", "Permissions": "ნებართვები", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "პერსონალიზაცია", "Pin": "მიმაგრება", "Pinned": "მიმაგრებულია", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index c5ff39d81c..4deaf2d778 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "마이크 접근 권환이 거부되었습니다: {{error}}", "Permissions": "권한", "Perplexity API Key": "Perplexity API 키", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "개인화", "Pin": "고정", "Pinned": "고정됨", diff --git a/src/lib/i18n/locales/lt-LT/translation.json b/src/lib/i18n/locales/lt-LT/translation.json index 51b0fdb058..e3cb04f538 100644 --- a/src/lib/i18n/locales/lt-LT/translation.json +++ b/src/lib/i18n/locales/lt-LT/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Leidimas naudoti mikrofoną atmestas: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizacija", "Pin": "Smeigtukas", "Pinned": "Įsmeigta", diff --git a/src/lib/i18n/locales/ms-MY/translation.json b/src/lib/i18n/locales/ms-MY/translation.json index e8795590d6..f24518a590 100644 --- a/src/lib/i18n/locales/ms-MY/translation.json +++ b/src/lib/i18n/locales/ms-MY/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Tidak mendapat kebenaran apabila cuba mengakses mikrofon: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisasi", "Pin": "Pin", "Pinned": "Disemat", diff --git a/src/lib/i18n/locales/nb-NO/translation.json b/src/lib/i18n/locales/nb-NO/translation.json index 7006e3a491..71de97d184 100644 --- a/src/lib/i18n/locales/nb-NO/translation.json +++ b/src/lib/i18n/locales/nb-NO/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Tilgang avslått ved bruk av mikrofonen: {{error}}", "Permissions": "Tillatelser", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Tilpassing", "Pin": "Fest", "Pinned": "Festet", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 2620a12cb3..7f928366de 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Toestemming geweigerd bij toegang tot microfoon: {{error}}", "Permissions": "Toestemmingen", "Perplexity API Key": "Perplexity API-sleutel", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisatie", "Pin": "Zet vast", "Pinned": "Vastgezet", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index 4a1160ecc5..08d4d2d7a6 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "ਮਾਈਕ੍ਰੋਫ਼ੋਨ ਤੱਕ ਪਹੁੰਚਣ ਸਮੇਂ ਆਗਿਆ ਰੱਦ ਕੀਤੀ ਗਈ: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "ਪਰਸੋਨਲਿਸ਼ਮ", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index 1255a25ffd..e20a519830 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Odmowa dostępu do mikrofonu: {{error}}", "Permissions": "Uprawnienia", "Perplexity API Key": "Klucz API Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizacja", "Pin": "Przypnij", "Pinned": "Przypięty", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index edbbeb81bd..d1d26cbb66 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permissão negada ao acessar o microfone: {{error}}", "Permissions": "Permissões", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalização", "Pin": "Fixar", "Pinned": "Fixado", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 80e94c623a..e80ec5ada9 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "A permissão foi negada ao aceder o microfone: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalização", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index e580bbee8d..c77c0e618e 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Permisiunea refuzată la accesarea microfonului: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizare", "Pin": "Fixează", "Pinned": "Fixat", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index 228495c116..7a1849d344 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Отказано в разрешении на доступ к микрофону: {{error}}", "Permissions": "Разрешения", "Perplexity API Key": "Ключ API для Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Персонализация", "Pin": "Закрепить", "Pinned": "Закреплено", diff --git a/src/lib/i18n/locales/sk-SK/translation.json b/src/lib/i18n/locales/sk-SK/translation.json index 61737c7339..ba00ffdf8d 100644 --- a/src/lib/i18n/locales/sk-SK/translation.json +++ b/src/lib/i18n/locales/sk-SK/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Oprávnenie zamietnuté pri prístupe k mikrofónu: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalizácia", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index 913cb167d4..e8579cdfda 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Приступ микрофону је одбијен: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Прилагођавање", "Pin": "Закачи", "Pinned": "Закачено", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index ffe8457764..56a0e2fc28 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Tillstånd nekades vid åtkomst till mikrofon: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Personalisering", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/th-TH/translation.json b/src/lib/i18n/locales/th-TH/translation.json index d03b37f35c..08243500b5 100644 --- a/src/lib/i18n/locales/th-TH/translation.json +++ b/src/lib/i18n/locales/th-TH/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "การอนุญาตถูกปฏิเสธเมื่อเข้าถึงไมโครโฟน: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "การปรับแต่ง", "Pin": "ปักหมุด", "Pinned": "ปักหมุดแล้ว", diff --git a/src/lib/i18n/locales/tk-TW/translation.json b/src/lib/i18n/locales/tk-TW/translation.json index 8b9784cab6..9b1e36c372 100644 --- a/src/lib/i18n/locales/tk-TW/translation.json +++ b/src/lib/i18n/locales/tk-TW/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "", "Pin": "", "Pinned": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index 66cbffe72e..10050d4da0 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Mikrofona erişim izni reddedildi: {{error}}", "Permissions": "İzinler", "Perplexity API Key": "Perplexity API Anahtarı", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Kişiselleştirme", "Pin": "Sabitle", "Pinned": "Sabitlenmiş", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index c4b5df9664..0cbef2b9ed 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Доступ до мікрофона заборонено: {{error}}", "Permissions": "Дозволи", "Perplexity API Key": "Ключ API для Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Персоналізація", "Pin": "Зачепити", "Pinned": "Зачеплено", diff --git a/src/lib/i18n/locales/ur-PK/translation.json b/src/lib/i18n/locales/ur-PK/translation.json index cccb04304c..e69cf32fc0 100644 --- a/src/lib/i18n/locales/ur-PK/translation.json +++ b/src/lib/i18n/locales/ur-PK/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "مائیکروفون تک رسائی کے دوران اجازت مسترد: {{error}}", "Permissions": "", "Perplexity API Key": "", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "شخصی ترتیبات", "Pin": "پن", "Pinned": "پن کیا گیا", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index 4ca5bae450..34d0422b98 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "Quyền truy cập micrô bị từ chối: {{error}}", "Permissions": "Quyền", "Perplexity API Key": "Khóa API Perplexity", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "Cá nhân hóa", "Pin": "Ghim", "Pinned": "Đã ghim", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 43efaed1f7..d969834047 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "申请麦克风权限被拒绝:{{error}}", "Permissions": "权限", "Perplexity API Key": "Perplexity API 密钥", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "个性化", "Pin": "置顶", "Pinned": "已置顶", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index fda9aee853..564000d308 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -939,6 +939,8 @@ "Permission denied when accessing microphone: {{error}}": "存取麥克風時權限遭拒:{{error}}", "Permissions": "權限", "Perplexity API Key": "Perplexity API 金鑰", + "Perplexity Model": "", + "Perplexity Search Context Usage": "", "Personalization": "個人化", "Pin": "釘選", "Pinned": "已釘選",