@lobehub/chat 1.15.25 → 1.15.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @lobehub/chat might be problematic. Click here for more details.

Files changed (70) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/locales/ar/chat.json +1 -1
  3. package/locales/ar/error.json +1 -1
  4. package/locales/bg-BG/chat.json +1 -1
  5. package/locales/bg-BG/error.json +1 -1
  6. package/locales/de-DE/chat.json +1 -1
  7. package/locales/de-DE/error.json +1 -1
  8. package/locales/en-US/chat.json +1 -1
  9. package/locales/en-US/error.json +1 -1
  10. package/locales/es-ES/chat.json +1 -1
  11. package/locales/es-ES/error.json +1 -1
  12. package/locales/fr-FR/chat.json +1 -1
  13. package/locales/fr-FR/error.json +1 -1
  14. package/locales/it-IT/chat.json +1 -1
  15. package/locales/it-IT/error.json +1 -1
  16. package/locales/ja-JP/chat.json +1 -1
  17. package/locales/ja-JP/error.json +1 -1
  18. package/locales/ko-KR/chat.json +1 -1
  19. package/locales/ko-KR/error.json +1 -1
  20. package/locales/nl-NL/chat.json +1 -1
  21. package/locales/nl-NL/error.json +1 -1
  22. package/locales/pl-PL/chat.json +1 -1
  23. package/locales/pl-PL/error.json +1 -1
  24. package/locales/pt-BR/chat.json +1 -1
  25. package/locales/pt-BR/error.json +1 -1
  26. package/locales/ru-RU/chat.json +1 -1
  27. package/locales/ru-RU/error.json +1 -1
  28. package/locales/tr-TR/chat.json +1 -1
  29. package/locales/tr-TR/error.json +1 -1
  30. package/locales/vi-VN/chat.json +1 -1
  31. package/locales/vi-VN/error.json +1 -1
  32. package/locales/zh-CN/chat.json +1 -1
  33. package/locales/zh-CN/error.json +1 -1
  34. package/locales/zh-TW/chat.json +1 -1
  35. package/locales/zh-TW/error.json +1 -1
  36. package/package.json +1 -1
  37. package/src/app/(main)/@nav/_layout/Desktop/BottomActions.tsx +12 -6
  38. package/src/app/(main)/@nav/_layout/Desktop/TopActions.tsx +1 -2
  39. package/src/app/(main)/chat/(workspace)/features/ShareButton/Preview.tsx +2 -2
  40. package/src/app/(main)/chat/@session/_layout/Desktop/SessionHeader.tsx +2 -1
  41. package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +1 -1
  42. package/src/app/(main)/market/_layout/Desktop/Header.tsx +1 -1
  43. package/src/app/(main)/settings/about/features/Version.tsx +2 -2
  44. package/src/app/(main)/settings/hooks/useCategory.tsx +3 -2
  45. package/src/components/Branding/CustomLogo.tsx +72 -0
  46. package/src/components/Branding/index.tsx +21 -0
  47. package/src/components/FullscreenLoading/index.tsx +3 -2
  48. package/src/components/PageTitle/index.tsx +3 -1
  49. package/src/config/featureFlags/schema.ts +16 -1
  50. package/src/config/featureFlags/utils/parser.test.ts +8 -0
  51. package/src/config/modelProviders/perplexity.ts +14 -8
  52. package/src/config/modelProviders/siliconcloud.ts +11 -0
  53. package/src/const/branding.ts +6 -3
  54. package/src/const/meta.ts +2 -1
  55. package/src/const/version.ts +5 -0
  56. package/src/features/AlertBanner/CloudBanner.tsx +3 -2
  57. package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +6 -1
  58. package/src/features/Conversation/components/InboxWelcome/index.tsx +2 -1
  59. package/src/features/PWAInstall/index.tsx +4 -1
  60. package/src/features/Setting/Footer.tsx +5 -1
  61. package/src/features/User/UserAvatar.tsx +2 -1
  62. package/src/features/User/UserPanel/useMenu.tsx +50 -47
  63. package/src/locales/default/chat.ts +1 -1
  64. package/src/locales/default/error.ts +1 -1
  65. package/src/server/ld.ts +1 -1
  66. package/src/store/file/slices/upload/action.ts +2 -0
  67. package/src/store/serverConfig/selectors.test.ts +2 -0
  68. package/public/images/logo.png +0 -0
  69. package/src/components/Branding/ProductLogo.tsx +0 -14
  70. package/src/components/Branding/index.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,64 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.15.27](https://github.com/lobehub/lobe-chat/compare/v1.15.26...v1.15.27)
6
+
7
+ <sup>Released on **2024-09-09**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Refactor brand implement for better custom.
12
+
13
+ #### 💄 Styles
14
+
15
+ - **misc**: Add siliconcloud new model.
16
+
17
+ <br/>
18
+
19
+ <details>
20
+ <summary><kbd>Improvements and Fixes</kbd></summary>
21
+
22
+ #### Code refactoring
23
+
24
+ - **misc**: Refactor brand implement for better custom, closes [#3868](https://github.com/lobehub/lobe-chat/issues/3868) ([815b366](https://github.com/lobehub/lobe-chat/commit/815b366))
25
+
26
+ #### Styles
27
+
28
+ - **misc**: Add siliconcloud new model, closes [#3865](https://github.com/lobehub/lobe-chat/issues/3865) ([c6b5a45](https://github.com/lobehub/lobe-chat/commit/c6b5a45))
29
+
30
+ </details>
31
+
32
+ <div align="right">
33
+
34
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
35
+
36
+ </div>
37
+
38
+ ### [Version 1.15.26](https://github.com/lobehub/lobe-chat/compare/v1.15.25...v1.15.26)
39
+
40
+ <sup>Released on **2024-09-09**</sup>
41
+
42
+ #### 💄 Styles
43
+
44
+ - **misc**: Update perplexity model list.
45
+
46
+ <br/>
47
+
48
+ <details>
49
+ <summary><kbd>Improvements and Fixes</kbd></summary>
50
+
51
+ #### Styles
52
+
53
+ - **misc**: Update perplexity model list, closes [#3836](https://github.com/lobehub/lobe-chat/issues/3836) ([b70671b](https://github.com/lobehub/lobe-chat/commit/b70671b))
54
+
55
+ </details>
56
+
57
+ <div align="right">
58
+
59
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
60
+
61
+ </div>
62
+
5
63
  ### [Version 1.15.25](https://github.com/lobehub/lobe-chat/compare/v1.15.24...v1.15.25)
6
64
 
7
65
  <sup>Released on **2024-09-09**</sup>
@@ -43,7 +43,7 @@
43
43
  "all": "جميع المحتويات",
44
44
  "allFiles": "جميع الملفات",
45
45
  "allKnowledgeBases": "جميع قواعد المعرفة",
46
- "disabled": "وضع النشر الحالي لا يدعم محادثات قاعدة المعرفة، إذا كنت ترغب في الاستخدام، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة LobeChat Cloud",
46
+ "disabled": "الوضع الحالي للنشر لا يدعم محادثات قاعدة المعرفة. إذا كنت بحاجة إلى استخدامها، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "إضافة",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "التفاصيل: {{detail}}",
118
- "fileOnlySupportInServerMode": "وضع النشر الحالي لا يدعم تحميل ملفات غير الصور. إذا كنت بحاجة إلى تحميل تنسيق {{ext}}، يرجى التبديل إلى نشر قاعدة بيانات الخادم أو استخدام خدمة LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "وضع النشر الحالي لا يدعم تحميل ملفات غير الصور. إذا كنت بحاجة إلى تحميل تنسيق {{ext}}، يرجى التبديل إلى نشر قاعدة البيانات على الخادم أو استخدام خدمة {{cloud}}.",
119
119
  "networkError": "يرجى التأكد من أن اتصال الشبكة لديك يعمل بشكل صحيح، والتحقق من إعدادات تكوين خدمة تخزين الملفات عبر النطاق.",
120
120
  "title": "فشل تحميل الملف، يرجى التحقق من الاتصال بالشبكة أو المحاولة لاحقًا",
121
121
  "unknownError": "سبب الخطأ: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Всички съдържания",
44
44
  "allFiles": "Всички файлове",
45
45
  "allKnowledgeBases": "Всички знания",
46
- "disabled": "Текущият режим на внедряване не поддържа диалози с база знания. За да използвате, моля, превключете на внедряване с база данни на сървъра или използвайте услугата LobeChat Cloud.",
46
+ "disabled": "Текущият режим на внедряване не поддържа разговори с база знания. Ако искате да използвате тази функция, моля, превключете на внедряване с база данни на сървъра или използвайте услугата {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Добави",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Подробности: {{detail}}",
118
- "fileOnlySupportInServerMode": "Текущият режим на разполагане не поддържа качване на файлове, различни от изображения. За да качите формат {{ext}}, моля, превключете на разполагане с база данни на сървъра или използвайте услугата LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "Текущият режим на разполагане не поддържа качване на файлове, различни от изображения. Ако искате да качите формат {{ext}}, моля, превключете на разполагане с база данни на сървъра или използвайте услугата {{cloud}}.",
119
119
  "networkError": "Моля, уверете се, че вашата мрежа работи нормално и проверете дали конфигурацията за крос-домейн на услугата за съхранение на файлове е правилна.",
120
120
  "title": "Неуспешно качване на файл, моля проверете интернет връзката или опитайте по-късно",
121
121
  "unknownError": "Причина за грешка: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Alle Inhalte",
44
44
  "allFiles": "Alle Dateien",
45
45
  "allKnowledgeBases": "Alle Wissensdatenbanken",
46
- "disabled": "Der aktuelle Bereitstellungsmodus unterstützt keine Wissensdatenbankgespräche. Bitte wechseln Sie zur serverseitigen Datenbankbereitstellung oder verwenden Sie den LobeChat Cloud-Dienst.",
46
+ "disabled": "Der aktuelle Bereitstellungsmodus unterstützt keine Dialoge mit der Wissensdatenbank. Bitte wechseln Sie zur Bereitstellung mit einer Serverdatenbank oder nutzen Sie den {{cloud}}-Dienst.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Hinzufügen",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Details: {{detail}}",
118
- "fileOnlySupportInServerMode": "Der aktuelle Bereitstellungsmodus unterstützt das Hochladen von Nicht-Bilddateien nicht. Um Dateien im {{ext}}-Format hochzuladen, wechseln Sie bitte zum Serverdatenbank-Bereitstellungsmodus oder verwenden Sie den LobeChat Cloud-Dienst.",
118
+ "fileOnlySupportInServerMode": "Der aktuelle Bereitstellungsmodus unterstützt das Hochladen von Nicht-Bilddateien nicht. Um Dateien im {{ext}}-Format hochzuladen, wechseln Sie bitte zum Serverdatenbank-Bereitstellungsmodus oder verwenden Sie den {{cloud}}-Dienst.",
119
119
  "networkError": "Bitte überprüfen Sie, ob Ihre Internetverbindung stabil ist, und prüfen Sie die Cross-Origin-Konfiguration des Dateispeicherdienstes.",
120
120
  "title": "Dateiupload fehlgeschlagen. Bitte überprüfen Sie Ihre Netzwerkverbindung und versuchen Sie es später erneut.",
121
121
  "unknownError": "Fehlerursache: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "All Content",
44
44
  "allFiles": "All Files",
45
45
  "allKnowledgeBases": "All Knowledge Bases",
46
- "disabled": "The current deployment mode does not support knowledge base conversations. To use this feature, please switch to server database deployment or use LobeChat Cloud service.",
46
+ "disabled": "The current deployment mode does not support knowledge base conversations. To use this feature, please switch to server-side database deployment or use the {{cloud}} service.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Add",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Details: {{detail}}",
118
- "fileOnlySupportInServerMode": "The current deployment mode does not support uploading non-image files. To upload files in {{ext}} format, please switch to server database deployment or use LobeChat Cloud service.",
118
+ "fileOnlySupportInServerMode": "The current deployment mode does not support uploading non-image files. To upload files in {{ext}} format, please switch to server database deployment or use the {{cloud}} service.",
119
119
  "networkError": "Please check your network connection and ensure that the file storage service's cross-origin configuration is correct.",
120
120
  "title": "File upload failed. Please check your network connection or try again later",
121
121
  "unknownError": "Error reason: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Todo el contenido",
44
44
  "allFiles": "Todos los archivos",
45
45
  "allKnowledgeBases": "Todas las bases de conocimiento",
46
- "disabled": "El modo de implementación actual no admite conversaciones de base de conocimiento. Para usarlo, cambie a la implementación de base de datos del servidor o utilice el servicio LobeChat Cloud.",
46
+ "disabled": "El modo de implementación actual no admite conversaciones con la base de conocimientos. Si desea utilizar esta función, cambie a la implementación de base de datos en el servidor o utilice el servicio {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Agregar",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Detalles: {{detail}}",
118
- "fileOnlySupportInServerMode": "El modo de implementación actual no admite la carga de archivos que no sean imágenes. Si desea cargar un archivo en formato {{ext}}, cambie a la implementación de base de datos en servidor o utilice el servicio LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "El modo de implementación actual no admite la carga de archivos que no sean imágenes. Si necesita cargar un archivo en formato {{ext}}, cambie a la implementación de base de datos en servidor o utilice el servicio {{cloud}}.",
119
119
  "networkError": "Por favor, verifica que tu red esté funcionando correctamente y comprueba si la configuración de CORS del servicio de almacenamiento de archivos es correcta.",
120
120
  "title": "Error al subir el archivo, por favor verifica la conexión a internet o inténtalo de nuevo más tarde",
121
121
  "unknownError": "Razón del error: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Tout le contenu",
44
44
  "allFiles": "Tous les fichiers",
45
45
  "allKnowledgeBases": "Toutes les bases de connaissances",
46
- "disabled": "Le mode de déploiement actuel ne prend pas en charge les dialogues de la base de connaissances. Pour l'utiliser, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service LobeChat Cloud.",
46
+ "disabled": "Le mode de déploiement actuel ne prend pas en charge les dialogues de la base de connaissances. Pour l'utiliser, veuillez passer à un déploiement de base de données sur serveur ou utiliser le service {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Ajouter",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Détails : {{detail}}",
118
- "fileOnlySupportInServerMode": "Le mode de déploiement actuel ne prend pas en charge le téléchargement de fichiers non image. Pour télécharger un format {{ext}}, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "Le mode de déploiement actuel ne prend pas en charge le téléchargement de fichiers non image. Pour télécharger un format {{ext}}, veuillez passer à un déploiement de base de données côté serveur ou utiliser le service {{cloud}}.",
119
119
  "networkError": "Veuillez vérifier si votre réseau fonctionne correctement et assurez-vous que la configuration CORS du service de stockage de fichiers est correcte.",
120
120
  "title": "Échec de l'envoi du fichier, veuillez vérifier votre connexion réseau ou réessayer plus tard",
121
121
  "unknownError": "Raison de l'erreur : {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Tutti i contenuti",
44
44
  "allFiles": "Tutti i file",
45
45
  "allKnowledgeBases": "Tutte le basi di conoscenza",
46
- "disabled": "La modalità di distribuzione attuale non supporta le conversazioni con la base di conoscenza. Per utilizzare questa funzione, passare alla distribuzione del database server o utilizzare il servizio LobeChat Cloud.",
46
+ "disabled": "L'attuale modalità di distribuzione non supporta le conversazioni con la base di conoscenza. Se desideri utilizzarla, passa alla distribuzione del database server o utilizza il servizio {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Aggiungi",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Dettagli: {{detail}}",
118
- "fileOnlySupportInServerMode": "L'attuale modalità di distribuzione non supporta il caricamento di file non immagine. Se desideri caricare un formato {{ext}}, ti preghiamo di passare alla distribuzione del database sul server o di utilizzare il servizio LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "L'attuale modalità di distribuzione non supporta il caricamento di file non immagine. Per caricare file in formato {{ext}}, si prega di passare alla distribuzione del database sul server o di utilizzare il servizio {{cloud}}.",
119
119
  "networkError": "Si prega di verificare che la connessione di rete sia stabile e controllare se la configurazione CORS del servizio di archiviazione file è corretta.",
120
120
  "title": "Caricamento del file fallito, controlla la connessione di rete o riprova più tardi",
121
121
  "unknownError": "Motivo dell'errore: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "すべてのコンテンツ",
44
44
  "allFiles": "すべてのファイル",
45
45
  "allKnowledgeBases": "すべての知識ベース",
46
- "disabled": "現在のデプロイモードでは知識ベースの対話はサポートされていません。使用するには、サーバー側のデータベースデプロイに切り替えるか、LobeChat Cloud サービスを利用してください。",
46
+ "disabled": "現在のデプロイモードでは知識ベースの対話はサポートされていません。使用するには、サーバー側のデータベースデプロイに切り替えるか、{{cloud}} サービスを利用してください。",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "追加",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "詳細: {{detail}}",
118
- "fileOnlySupportInServerMode": "現在のデプロイモードでは、画像以外のファイルのアップロードはサポートされていません。{{ext}} 形式のファイルをアップロードするには、サーバーデータベースデプロイに切り替えるか、LobeChat Cloud サービスを使用してください。",
118
+ "fileOnlySupportInServerMode": "現在のデプロイモードでは、画像以外のファイルのアップロードはサポートされていません。{{ext}} 形式のファイルをアップロードするには、サーバーデータベースデプロイに切り替えるか、{{cloud}} サービスを使用してください。",
119
119
  "networkError": "ネットワークが正常であることを確認し、ファイルストレージサービスのクロスオリジン設定が正しいかどうかを確認してください。",
120
120
  "title": "ファイルのアップロードに失敗しました。ネットワーク接続を確認するか、後でもう一度お試しください",
121
121
  "unknownError": "エラーの原因: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "모든 내용",
44
44
  "allFiles": "모든 파일",
45
45
  "allKnowledgeBases": "모든 지식 베이스",
46
- "disabled": "현재 배포 모드에서는 지식 베이스 대화가 지원되지 않습니다. 사용하려면 서버 데이터베이스 배포로 전환하거나 LobeChat Cloud 서비스를 이용하세요.",
46
+ "disabled": "현재 배포 모드에서는 지식 기반 대화가 지원되지 않습니다. 사용하려면 서버 데이터베이스 배포로 전환하거나 {{cloud}} 서비스를 이용해 주십시오.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "추가",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "상세 내용: {{detail}}",
118
- "fileOnlySupportInServerMode": "현재 배포 모드에서는 이미지 파일이 아닌 파일 업로드를 지원하지 않습니다. {{ext}} 형식을 업로드하려면 서버 데이터베이스 배포로 전환하거나 LobeChat Cloud 서비스를 사용하세요.",
118
+ "fileOnlySupportInServerMode": "현재 배포 모드에서는 이미지 파일이 아닌 파일 업로드를 지원하지 않습니다. {{ext}} 형식을 업로드하려면 서버 데이터베이스 배포로 전환하거나 {{cloud}} 서비스를 사용하세요.",
119
119
  "networkError": "네트워크가 정상인지 확인하고 파일 저장 서비스의 교차 출처 구성도 올바른지 확인하세요.",
120
120
  "title": "파일 업로드 실패, 네트워크 연결을 확인하거나 나중에 다시 시도해주세요",
121
121
  "unknownError": "오류 원인: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Alle inhoud",
44
44
  "allFiles": "Alle bestanden",
45
45
  "allKnowledgeBases": "Alle kennisbanken",
46
- "disabled": "De huidige implementatiemodus ondersteunt geen kennisbankgesprekken. Schakel over naar serverdatabase-implementatie of gebruik de LobeChat Cloud-service om dit te gebruiken.",
46
+ "disabled": "De huidige implementatiemodus ondersteunt geen kennisbankgesprekken. Als je dit wilt gebruiken, schakel dan over naar serverdatabase-implementatie of gebruik de {{cloud}}-dienst.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Toevoegen",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Details: {{detail}}",
118
- "fileOnlySupportInServerMode": "De huidige implementatiemodus ondersteunt het uploaden van niet-afbeeldingsbestanden niet. Als u bestanden in {{ext}}-formaat wilt uploaden, schakelt u over naar de serverdatabase-implementatie of gebruikt u de LobeChat Cloud-service.",
118
+ "fileOnlySupportInServerMode": "De huidige implementatiemodus ondersteunt het uploaden van niet-afbeeldingsbestanden niet. Als u bestanden in {{ext}}-formaat wilt uploaden, schakelt u over naar de serverdatabase-implementatie of gebruikt u de {{cloud}}-dienst.",
119
119
  "networkError": "Controleer of je netwerk goed werkt en of de cross-origin configuratie van de bestandsopslagservice correct is.",
120
120
  "title": "Bestand uploaden mislukt, controleer uw internetverbinding of probeer het later opnieuw",
121
121
  "unknownError": "Foutreden: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Wszystkie treści",
44
44
  "allFiles": "Wszystkie pliki",
45
45
  "allKnowledgeBases": "Wszystkie bazy wiedzy",
46
- "disabled": "Aktualny tryb wdrożenia nie obsługuje rozmów z bazą wiedzy. Aby korzystać, przełącz się na wdrożenie bazy danych serwera lub skorzystaj z usługi LobeChat Cloud.",
46
+ "disabled": "Obecny tryb wdrożenia nie obsługuje rozmów z bazą wiedzy. Aby z niej skorzystać, przełącz się na wdrożenie z bazą danych serwera lub skorzystaj z usługi {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Dodaj",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Szczegóły: {{detail}}",
118
- "fileOnlySupportInServerMode": "Aktualny tryb wdrożenia nie obsługuje przesyłania plików, które nie są obrazami. Aby przesłać pliki w formacie {{ext}}, przełącz się na wdrożenie bazy danych na serwerze lub skorzystaj z usługi LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "Aktualny tryb wdrożenia nie obsługuje przesyłania plików, które nie są obrazami. Aby przesłać pliki w formacie {{ext}}, przełącz się na wdrożenie bazy danych na serwerze lub skorzystaj z usługi {{cloud}}.",
119
119
  "networkError": "Proszę upewnić się, że Twoja sieć działa poprawnie oraz sprawdzić, czy konfiguracja CORS dla usługi przechowywania plików jest prawidłowa.",
120
120
  "title": "Nie udało się przesłać pliku. Sprawdź połączenie sieciowe lub spróbuj ponownie później",
121
121
  "unknownError": "Przyczyna błędu: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Todo conteúdo",
44
44
  "allFiles": "Todos os arquivos",
45
45
  "allKnowledgeBases": "Todos os bancos de conhecimento",
46
- "disabled": "O modo de implantação atual não suporta diálogos de banco de conhecimento. Para usar, mude para a implantação de banco de dados no servidor ou utilize o serviço LobeChat Cloud.",
46
+ "disabled": "O modo de implantação atual não suporta diálogos com a base de conhecimento. Para utilizá-lo, por favor, mude para a implantação do banco de dados no servidor ou utilize o serviço {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Adicionar",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Detalhes: {{detail}}",
118
- "fileOnlySupportInServerMode": "O modo de implantação atual não suporta o upload de arquivos que não sejam imagens. Para fazer o upload de arquivos no formato {{ext}}, por favor, mude para a implantação do banco de dados no servidor ou utilize o serviço LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "O modo de implantação atual não suporta o upload de arquivos que não sejam imagens. Para fazer o upload de arquivos no formato {{ext}}, mude para a implantação do banco de dados no servidor ou utilize o serviço {{cloud}}.",
119
119
  "networkError": "Por favor, verifique se sua rede está funcionando corretamente e se a configuração de CORS do serviço de armazenamento de arquivos está correta.",
120
120
  "title": "Falha ao enviar o arquivo, verifique a conexão de rede ou tente novamente mais tarde",
121
121
  "unknownError": "Erro: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Все содержимое",
44
44
  "allFiles": "Все файлы",
45
45
  "allKnowledgeBases": "Все базы знаний",
46
- "disabled": "Текущий режим развертывания не поддерживает диалоги с базой знаний. Для использования переключитесь на развертывание серверной базы данных или используйте LobeChat Cloud сервис.",
46
+ "disabled": "Текущий режим развертывания не поддерживает диалоги с базой знаний. Для использования, пожалуйста, переключитесь на развертывание с серверной базой данных или используйте {{cloud}} сервис.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Добавить",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Подробности: {{detail}}",
118
- "fileOnlySupportInServerMode": "Текущий режим развертывания не поддерживает загрузку файлов, отличных от изображений. Если вы хотите загрузить файл формата {{ext}}, пожалуйста, переключитесь на развертывание с серверной базой данных или используйте LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "Текущий режим развертывания не поддерживает загрузку файлов, отличных от изображений. Чтобы загрузить файл формата {{ext}}, пожалуйста, переключитесь на развертывание с серверной базой данных или используйте сервис {{cloud}}.",
119
119
  "networkError": "Пожалуйста, убедитесь, что ваше соединение с сетью работает нормально, и проверьте правильность конфигурации кросс-доменных запросов для службы хранения файлов.",
120
120
  "title": "Ошибка загрузки файла. Проверьте подключение к сети или попробуйте позже",
121
121
  "unknownError": "Причина ошибки: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Tüm İçerik",
44
44
  "allFiles": "Tüm Dosyalar",
45
45
  "allKnowledgeBases": "Tüm Bilgi Tabanları",
46
- "disabled": "Mevcut dağıtım modu bilgi tabanı sohbetini desteklemiyor, kullanmak için lütfen sunucu veritabanı dağıtımına geçin veya LobeChat Cloud hizmetini kullanın.",
46
+ "disabled": "Mevcut dağıtım modu bilgi tabanı sohbetini desteklemiyor. Kullanmak istiyorsanız, lütfen sunucu veritabanı dağıtımına geçin veya {{cloud}} hizmetini kullanın.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Ekle",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Detay: {{detail}}",
118
- "fileOnlySupportInServerMode": "Mevcut dağıtım modu, yalnızca resim dosyalarının yüklenmesini desteklemektedir. {{ext}} formatında bir dosya yüklemek istiyorsanız, lütfen sunucu veritabanı dağıtımına geçin veya LobeChat Cloud hizmetini kullanın.",
118
+ "fileOnlySupportInServerMode": "Mevcut dağıtım modu, yalnızca resim dosyalarının yüklenmesini desteklemektedir. {{ext}} formatında bir dosya yüklemek istiyorsanız, lütfen sunucu veritabanı dağıtımına geçin veya {{cloud}} hizmetini kullanın.",
119
119
  "networkError": "Lütfen ağ bağlantınızın düzgün çalıştığından emin olun ve dosya depolama hizmetinin çapraz alan yapılandırmasının doğru olup olmadığını kontrol edin.",
120
120
  "title": "Dosya yükleme başarısız, lütfen ağ bağlantınızı kontrol edin veya daha sonra tekrar deneyin",
121
121
  "unknownError": "Hata nedeni: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "Tất cả nội dung",
44
44
  "allFiles": "Tất cả tệp",
45
45
  "allKnowledgeBases": "Tất cả kho kiến thức",
46
- "disabled": "Chế độ triển khai hiện tại không hỗ trợ đối thoại kho kiến thức, nếu muốn sử dụng, vui lòng chuyển sang triển khai cơ sở dữ liệu máy chủ hoặc sử dụng dịch vụ LobeChat Cloud",
46
+ "disabled": "Chế độ triển khai hiện tại không hỗ trợ đối thoại với cơ sở kiến thức. Nếu bạn muốn sử dụng, hãy chuyển sang triển khai cơ sở dữ liệu máy chủ hoặc sử dụng dịch vụ {{cloud}}.",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "Thêm",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "Chi tiết: {{detail}}",
118
- "fileOnlySupportInServerMode": "Chế độ triển khai hiện tại không hỗ trợ tải lên các tệp không phải hình ảnh. Nếu bạn cần tải lên định dạng {{ext}}, vui lòng chuyển sang triển khai cơ sở dữ liệu trên máy chủ hoặc sử dụng dịch vụ LobeChat Cloud.",
118
+ "fileOnlySupportInServerMode": "Chế độ triển khai hiện tại không hỗ trợ tải lên các tệp không phải hình ảnh. Nếu bạn muốn tải lên định dạng {{ext}}, vui lòng chuyển sang triển khai cơ sở dữ liệu trên máy chủ hoặc sử dụng dịch vụ {{cloud}}.",
119
119
  "networkError": "Vui lòng kiểm tra xem mạng của bạn có hoạt động bình thường không và kiểm tra cấu hình chia sẻ tệp giữa các miền có đúng không",
120
120
  "title": "Tải lên tệp thất bại, vui lòng kiểm tra kết nối mạng hoặc thử lại sau",
121
121
  "unknownError": "Lỗi: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "所有内容",
44
44
  "allFiles": "所有文件",
45
45
  "allKnowledgeBases": "所有知识库",
46
- "disabled": "当前部署模式不支持知识库对话,如需使用,请切换到服务端数据库部署或使用 LobeChat Cloud 服务",
46
+ "disabled": "当前部署模式不支持知识库对话,如需使用,请切换到服务端数据库部署或使用 {{cloud}} 服务",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "添加",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "详情: {{detail}}",
118
- "fileOnlySupportInServerMode": "当前部署模式不支持上传非图片文件,如需上传 {{ext}} 格式,请切换到服务端数据库部署或使用 LobeChat Cloud 服务",
118
+ "fileOnlySupportInServerMode": "当前部署模式不支持上传非图片文件,如需上传 {{ext}} 格式,请切换到服务端数据库部署或使用 {{cloud}} 服务",
119
119
  "networkError": "请确认你的网络是否正常,并检查文件存储服务跨域配置是否正确",
120
120
  "title": "文件上传失败,请检查网络连接或稍后再试",
121
121
  "unknownError": "错误原因: {{reason}}",
@@ -43,7 +43,7 @@
43
43
  "all": "所有內容",
44
44
  "allFiles": "所有檔案",
45
45
  "allKnowledgeBases": "所有知識庫",
46
- "disabled": "當前部署模式不支持知識庫對話,如需使用,請切換到伺服器端資料庫部署或使用 LobeChat Cloud 服務",
46
+ "disabled": "目前的部署模式不支援知識庫對話,如需使用,請切換到伺服器端資料庫部署或使用 {{cloud}} 服務",
47
47
  "library": {
48
48
  "action": {
49
49
  "add": "添加",
@@ -115,7 +115,7 @@
115
115
  },
116
116
  "upload": {
117
117
  "desc": "詳情: {{detail}}",
118
- "fileOnlySupportInServerMode": "當前部署模式不支持上傳非圖片文件,如需上傳 {{ext}} 格式,請切換到伺服器端資料庫部署或使用 LobeChat Cloud 服務",
118
+ "fileOnlySupportInServerMode": "當前部署模式不支持上傳非圖片文件,如需上傳 {{ext}} 格式,請切換到伺服器數據庫部署或使用 {{cloud}} 服務",
119
119
  "networkError": "請確認你的網路是否正常,並檢查檔案儲存服務的跨域配置是否正確",
120
120
  "title": "檔案上傳失敗,請檢查網路連線或稍後再試",
121
121
  "unknownError": "錯誤原因: {{reason}}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.15.25",
3
+ "version": "1.15.27",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -5,18 +5,24 @@ import { memo } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
6
6
 
7
7
  import { DOCUMENTS_REFER_URL, GITHUB } from '@/const/url';
8
+ import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfig';
8
9
 
9
10
  const BottomActions = memo(() => {
10
11
  const { t } = useTranslation('common');
12
+ const { hideGitHub, hideDocs } = useServerConfigStore(featureFlagsSelectors);
11
13
 
12
14
  return (
13
15
  <>
14
- <Link aria-label={'GitHub'} href={GITHUB} target={'_blank'}>
15
- <ActionIcon icon={Github} placement={'right'} title={'GitHub'} />
16
- </Link>
17
- <Link aria-label={t('document')} href={DOCUMENTS_REFER_URL} target={'_blank'}>
18
- <ActionIcon icon={Book} placement={'right'} title={t('document')} />
19
- </Link>
16
+ {!hideGitHub && (
17
+ <Link aria-label={'GitHub'} href={GITHUB} target={'_blank'}>
18
+ <ActionIcon icon={Github} placement={'right'} title={'GitHub'} />
19
+ </Link>
20
+ )}
21
+ {!hideDocs && (
22
+ <Link aria-label={t('document')} href={DOCUMENTS_REFER_URL} target={'_blank'}>
23
+ <ActionIcon icon={Book} placement={'right'} title={t('document')} />
24
+ </Link>
25
+ )}
20
26
  </>
21
27
  );
22
28
  });
@@ -16,8 +16,7 @@ export interface TopActionProps {
16
16
  const TopActions = memo<TopActionProps>(({ tab }) => {
17
17
  const { t } = useTranslation('common');
18
18
  const switchBackToChat = useGlobalStore((s) => s.switchBackToChat);
19
- const { showMarket } = useServerConfigStore(featureFlagsSelectors);
20
- const { enableKnowledgeBase } = useServerConfigStore(featureFlagsSelectors);
19
+ const { showMarket, enableKnowledgeBase } = useServerConfigStore(featureFlagsSelectors);
21
20
 
22
21
  return (
23
22
  <>
@@ -1,11 +1,11 @@
1
1
  import { ModelTag } from '@lobehub/icons';
2
2
  import { Avatar, ChatHeaderTitle, Markdown } from '@lobehub/ui';
3
- import { LobeChat } from '@lobehub/ui/brand';
4
3
  import { memo } from 'react';
5
4
  import { useTranslation } from 'react-i18next';
6
5
  import { Flexbox } from 'react-layout-kit';
7
6
 
8
7
  import pkg from '@/../package.json';
8
+ import { ProductLogo } from '@/components/Branding';
9
9
  import ChatList from '@/features/Conversation/components/ChatList';
10
10
  import { useAgentStore } from '@/store/agent';
11
11
  import { agentSelectors } from '@/store/agent/selectors';
@@ -63,7 +63,7 @@ const Preview = memo<FieldType & { title?: string }>(
63
63
  <ChatList />
64
64
  {withFooter ? (
65
65
  <Flexbox align={'center'} className={styles.footer} gap={4}>
66
- <LobeChat type={'combine'} />
66
+ <ProductLogo type={'combine'} />
67
67
  <div className={styles.url}>{pkg.homepage}</div>
68
68
  </Flexbox>
69
69
  ) : (
@@ -18,6 +18,7 @@ import SessionSearchBar from '../../features/SessionSearchBar';
18
18
 
19
19
  export const useStyles = createStyles(({ css, token }) => ({
20
20
  logo: css`
21
+ color: ${token.colorText};
21
22
  fill: ${token.colorText};
22
23
  `,
23
24
  top: css`
@@ -38,7 +39,7 @@ const Header = memo(() => {
38
39
  <Flexbox className={styles.top} gap={16} padding={16}>
39
40
  <Flexbox distribution={'space-between'} horizontal>
40
41
  <Flexbox align={'center'} gap={4} horizontal>
41
- <ProductLogo className={styles.logo} size={36} />
42
+ <ProductLogo className={styles.logo} size={36} type={'text'} />
42
43
  {enableWebrtc && <SyncStatusTag />}
43
44
  </Flexbox>
44
45
  {showCreateSession && (
@@ -24,7 +24,7 @@ const Header = memo(() => {
24
24
  left={
25
25
  <Flexbox align={'center'} gap={8} horizontal style={{ marginLeft: 8 }}>
26
26
  <UserAvatar onClick={() => router.push('/me')} size={32} />
27
- <ProductLogo />
27
+ <ProductLogo type={'text'} />
28
28
  {enableWebrtc && <SyncStatusInspector placement={'bottom'} />}
29
29
  </Flexbox>
30
30
  }
@@ -20,7 +20,7 @@ const Header = memo(() => {
20
20
 
21
21
  return (
22
22
  <ChatHeader
23
- left={<ProductLogo className={styles.logo} extra={'Discover'} size={36} />}
23
+ left={<ProductLogo className={styles.logo} extra={'Discover'} size={36} type={'text'} />}
24
24
  right={<ShareAgentButton />}
25
25
  />
26
26
  );
@@ -1,11 +1,11 @@
1
1
  import { Button, Tag } from 'antd';
2
2
  import { createStyles } from 'antd-style';
3
- import Image from 'next/image';
4
3
  import Link from 'next/link';
5
4
  import { memo } from 'react';
6
5
  import { useTranslation } from 'react-i18next';
7
6
  import { Center, Flexbox } from 'react-layout-kit';
8
7
 
8
+ import { ProductLogo } from '@/components/Branding';
9
9
  import { BRANDING_NAME } from '@/const/branding';
10
10
  import { MANUAL_UPGRADE_URL, OFFICIAL_SITE, RELEASES_URL } from '@/const/url';
11
11
  import { CURRENT_VERSION } from '@/const/version';
@@ -38,7 +38,7 @@ const Version = memo<{ mobile?: boolean }>(({ mobile }) => {
38
38
  <Flexbox align={'center'} flex={'none'} gap={16} horizontal>
39
39
  <Link href={OFFICIAL_SITE} target={'_blank'}>
40
40
  <Center className={styles.logo} height={64} width={64}>
41
- <Image alt={BRANDING_NAME} height={52} src={'/icons/icon-192x192.png'} width={52} />
41
+ <ProductLogo size={52} />
42
42
  </Center>
43
43
  </Link>
44
44
  <Flexbox>
@@ -12,7 +12,8 @@ import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfi
12
12
 
13
13
  export const useCategory = () => {
14
14
  const { t } = useTranslation('setting');
15
- const { enableWebrtc, showLLM, enableSTT } = useServerConfigStore(featureFlagsSelectors);
15
+ const { enableWebrtc, showLLM, enableSTT, hideDocs } =
16
+ useServerConfigStore(featureFlagsSelectors);
16
17
 
17
18
  const cateItems: MenuProps['items'] = useMemo(
18
19
  () =>
@@ -77,7 +78,7 @@ export const useCategory = () => {
77
78
  </Link>
78
79
  ),
79
80
  },
80
- {
81
+ !hideDocs && {
81
82
  icon: <Icon icon={Info} />,
82
83
  key: SettingsTabs.About,
83
84
  label: (