mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
chore: format
This commit is contained in:
parent
47e4250f58
commit
925a903e38
@ -442,12 +442,10 @@ async def chat_completion_tools_handler(
|
||||
tool_function = tools[tool_function_name]["callable"]
|
||||
sig = inspect.signature(tool_function)
|
||||
tool_function_params = {
|
||||
k: v
|
||||
for k, v in tool_function_params.items()
|
||||
if k in sig.parameters
|
||||
k: v for k, v in tool_function_params.items() if k in sig.parameters
|
||||
}
|
||||
tool_output = await tool_function(**tool_function_params)
|
||||
|
||||
|
||||
except Exception as e:
|
||||
tool_output = str(e)
|
||||
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "منصب",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Роля",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "পদবি",
|
||||
"Rosé Pine": "রোজ পাইন",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Les notifications de resposta no es poden activar perquè els permisos del lloc web han estat rebutjats. Comprova les preferències del navegador per donar l'accés necessari.",
|
||||
"Response splitting": "Divisió de la resposta",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rol",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Papel",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Svarnotifikationer kan ikke aktiveres, da webstedets tilladelser er blevet nægtet. Besøg dine browserindstillinger for at give den nødvendige adgang.",
|
||||
"Response splitting": "Svaropdeling",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rolle",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Benachrichtigungen können nicht aktiviert werden, da die Website-Berechtigungen abgelehnt wurden. Bitte besuchen Sie Ihre Browser-Einstellungen, um den erforderlichen Zugriff zu gewähren.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rolle",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Role",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "",
|
||||
"Rosé Pine": "",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "",
|
||||
"Rosé Pine": "",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Las notificaciones de respuesta no pueden activarse debido a que los permisos del sitio web han sido denegados. Por favor, visite las configuraciones de su navegador para otorgar el acceso necesario.",
|
||||
"Response splitting": "División de respuestas",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rol",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "نقش",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rooli",
|
||||
"Rosé Pine": "Rosee-mänty",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Les notifications de réponse ne peuvent pas être activées car les autorisations du site web ont été refusées. Veuillez visiter les paramètres de votre navigateur pour accorder l'accès nécessaire.",
|
||||
"Response splitting": "Fractionnement de la réponse",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rôle",
|
||||
"Rosé Pine": "Pin rosé",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Les notifications de réponse ne peuvent pas être activées car les autorisations du site web ont été refusées. Veuillez vérifier les paramètres de votre navigateur pour accorder l'accès nécessaire.",
|
||||
"Response splitting": "Fractionnement de la réponse",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rôle",
|
||||
"Rosé Pine": "Pin rosé",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "תפקיד",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "भूमिका",
|
||||
"Rosé Pine": "रोसे पिन",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Uloga",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Notifikasi respons tidak dapat diaktifkan karena izin situs web telah ditolak. Silakan kunjungi pengaturan browser Anda untuk memberikan akses yang diperlukan.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Peran",
|
||||
"Rosé Pine": "Pinus Rosé",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Ní féidir fógraí freagartha a ghníomhachtú toisc gur diúltaíodh ceadanna an tsuímh Ghréasáin. Tabhair cuairt ar do shocruithe brabhsálaí chun an rochtain riachtanach a dheonú.",
|
||||
"Response splitting": "Scoilt freagartha",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Ról",
|
||||
"Rosé Pine": "Pine Rosé",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Ruolo",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "応答の分割",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "役割",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "როლი",
|
||||
"Rosé Pine": "ვარდისფერი ფიჭვის ხე",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "역할",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Naršyklė neleidžia siųsti pranešimų",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rolė",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Pemberitahuan respons tidak boleh diaktifkan kerana kebenaran tapak web tidak diberi. Sila lawati tetapan pelayar web anda untuk memberikan akses yang diperlukan.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Peranan",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Respons-varsler kan ikke aktiveres da nettstedsrettighetene er nektet. Vennligst se nettleserinnstillingene dine for å gi nødvendig tilgang.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rolle",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "Antwoord splitsing",
|
||||
"Result": "Resultaat",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rol",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
@ -846,4 +847,4 @@
|
||||
"Your entire contribution will go directly to the plugin developer; Open WebUI does not take any percentage. However, the chosen funding platform might have its own fees.": "",
|
||||
"Youtube": "Youtube",
|
||||
"Youtube Loader Settings": "Youtube-laderinstellingen"
|
||||
}
|
||||
}
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "ਭੂਮਿਕਾ",
|
||||
"Rosé Pine": "ਰੋਜ਼ ਪਾਈਨ",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rola",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Notificações de resposta não podem ser ativadas pois as permissões do site foram negadas. Por favor, visite as configurações do seu navegador para conceder o acesso necessário.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Função",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Função",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Notificările de răspuns nu pot fi activate deoarece permisiunile site-ului au fost refuzate. Vă rugăm să vizitați setările browserului pentru a acorda accesul necesar.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rol",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Уведомления об ответах не могут быть активированы, поскольку доступ к веб-сайту был заблокирован. Пожалуйста, перейдите к настройкам своего браузера, чтобы предоставить необходимый доступ.",
|
||||
"Response splitting": "Разделение ответов",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Роль",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Улога",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Roll",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "ไม่สามารถเปิดการแจ้งเตือนการตอบสนองได้เนื่องจากเว็บไซต์ปฏิเสธ กรุณาเข้าการตั้งค่าเบราว์เซอร์ของคุณเพื่อให้สิทธิ์การเข้าถึงที่จำเป็น",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "บทบาท",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "",
|
||||
"Rosé Pine": "",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Web sitesi izinleri reddedildiğinden yanıt bildirimleri etkinleştirilemiyor. Gerekli erişimi sağlamak için lütfen tarayıcı ayarlarınızı ziyaret edin.",
|
||||
"Response splitting": "Yanıt bölme",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Rol",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Сповіщення про відповіді не можуть бути активовані, оскільки вам було відмовлено в доступі до веб-сайту. Будь ласка, відвідайте налаштування вашого браузера, щоб надати необхідний доступ.",
|
||||
"Response splitting": "Розбиття відповіді",
|
||||
"Result": "Результат",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "RK",
|
||||
"Role": "Роль",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Không thể kích hoạt thông báo vì trang web không cấp quyền. Vui lòng truy cập cài đặt trình duyệt của bạn để cấp quyền cần thiết.",
|
||||
"Response splitting": "",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "Vai trò",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "无法激活回复时发送通知。请检查浏览器设置,并授予必要的访问权限。",
|
||||
"Response splitting": "拆分回复",
|
||||
"Result": "结果",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "排名",
|
||||
"Role": "权限组",
|
||||
"Rosé Pine": "Rosé Pine",
|
||||
|
@ -587,6 +587,7 @@
|
||||
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "無法啟用回應通知,因為網站權限已遭拒。請前往瀏覽器設定以授予必要存取權限。",
|
||||
"Response splitting": "回應分割",
|
||||
"Result": "",
|
||||
"Rich Text Input for Chat": "",
|
||||
"RK": "",
|
||||
"Role": "角色",
|
||||
"Rosé Pine": "玫瑰松",
|
||||
|
Loading…
Reference in New Issue
Block a user