@lobehub/chat 1.53.6 → 1.53.8

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.
Files changed (62) hide show
  1. package/.github/workflows/lighthouse.yml +1 -1
  2. package/CHANGELOG.md +50 -0
  3. package/changelog/v1.json +18 -0
  4. package/locales/ar/modelProvider.json +5 -0
  5. package/locales/bg-BG/modelProvider.json +5 -0
  6. package/locales/de-DE/modelProvider.json +5 -0
  7. package/locales/en-US/modelProvider.json +5 -0
  8. package/locales/es-ES/modelProvider.json +5 -0
  9. package/locales/fa-IR/modelProvider.json +5 -0
  10. package/locales/fr-FR/modelProvider.json +5 -0
  11. package/locales/it-IT/modelProvider.json +5 -0
  12. package/locales/ja-JP/modelProvider.json +5 -0
  13. package/locales/ko-KR/modelProvider.json +5 -0
  14. package/locales/nl-NL/modelProvider.json +5 -0
  15. package/locales/pl-PL/modelProvider.json +5 -0
  16. package/locales/pt-BR/modelProvider.json +5 -0
  17. package/locales/ru-RU/modelProvider.json +5 -0
  18. package/locales/tr-TR/modelProvider.json +5 -0
  19. package/locales/vi-VN/modelProvider.json +5 -0
  20. package/locales/zh-CN/auth.json +1 -1
  21. package/locales/zh-CN/changelog.json +1 -1
  22. package/locales/zh-CN/chat.json +1 -1
  23. package/locales/zh-CN/clerk.json +1 -1
  24. package/locales/zh-CN/common.json +1 -1
  25. package/locales/zh-CN/components.json +1 -1
  26. package/locales/zh-CN/discover.json +1 -1
  27. package/locales/zh-CN/error.json +1 -1
  28. package/locales/zh-CN/file.json +1 -1
  29. package/locales/zh-CN/knowledgeBase.json +1 -1
  30. package/locales/zh-CN/metadata.json +1 -1
  31. package/locales/zh-CN/migration.json +1 -1
  32. package/locales/zh-CN/modelProvider.json +6 -1
  33. package/locales/zh-CN/models.json +1049 -1049
  34. package/locales/zh-CN/plugin.json +1 -1
  35. package/locales/zh-CN/portal.json +1 -1
  36. package/locales/zh-CN/providers.json +70 -70
  37. package/locales/zh-CN/ragEval.json +1 -1
  38. package/locales/zh-CN/setting.json +1 -1
  39. package/locales/zh-CN/thread.json +1 -1
  40. package/locales/zh-CN/tool.json +1 -1
  41. package/locales/zh-CN/topic.json +1 -1
  42. package/locales/zh-CN/welcome.json +1 -1
  43. package/locales/zh-TW/modelProvider.json +5 -0
  44. package/package.json +1 -1
  45. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +67 -61
  46. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelTitle/index.tsx +37 -10
  47. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ProviderSettingsContext.ts +9 -0
  48. package/src/app/[variants]/(main)/settings/provider/features/ModelList/index.tsx +27 -17
  49. package/src/config/aiModels/cloudflare.ts +1 -1
  50. package/src/config/aiModels/huggingface.ts +10 -1
  51. package/src/config/modelProviders/cloudflare.ts +1 -1
  52. package/src/config/modelProviders/huggingface.ts +6 -1
  53. package/src/config/modelProviders/spark.ts +2 -0
  54. package/src/const/version.ts +1 -2
  55. package/src/database/server/models/aiModel.ts +6 -0
  56. package/src/locales/default/modelProvider.ts +5 -0
  57. package/src/server/routers/lambda/aiModel.ts +5 -0
  58. package/src/services/aiModel/client.ts +4 -0
  59. package/src/services/aiModel/server.ts +4 -0
  60. package/src/services/aiModel/type.ts +2 -0
  61. package/src/store/aiInfra/slices/aiModel/action.ts +5 -0
  62. package/src/types/aiProvider.ts +7 -1
@@ -18,7 +18,7 @@ on:
18
18
  jobs:
19
19
  lighthouse-badger-advanced:
20
20
  name: ${{ matrix.NAME }}
21
- runs-on: ubuntu-22.04
21
+ runs-on: ubuntu-24.04
22
22
  timeout-minutes: 8
23
23
  strategy:
24
24
  fail-fast: false
package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.53.8](https://github.com/lobehub/lobe-chat/compare/v1.53.7...v1.53.8)
6
+
7
+ <sup>Released on **2025-02-13**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix model fetch for spark and fix the support of model reset.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix model fetch for spark and fix the support of model reset, closes [#6080](https://github.com/lobehub/lobe-chat/issues/6080) ([257fda1](https://github.com/lobehub/lobe-chat/commit/257fda1))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 1.53.7](https://github.com/lobehub/lobe-chat/compare/v1.53.6...v1.53.7)
31
+
32
+ <sup>Released on **2025-02-13**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **misc**: Update model list.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **misc**: Update model list, closes [#6056](https://github.com/lobehub/lobe-chat/issues/6056) ([be0d7f6](https://github.com/lobehub/lobe-chat/commit/be0d7f6))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 1.53.6](https://github.com/lobehub/lobe-chat/compare/v1.53.5...v1.53.6)
6
56
 
7
57
  <sup>Released on **2025-02-13**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix model fetch for spark and fix the support of model reset."
6
+ ]
7
+ },
8
+ "date": "2025-02-13",
9
+ "version": "1.53.8"
10
+ },
11
+ {
12
+ "children": {
13
+ "improvements": [
14
+ "Update model list."
15
+ ]
16
+ },
17
+ "date": "2025-02-13",
18
+ "version": "1.53.7"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "fixes": [
@@ -276,6 +276,11 @@
276
276
  "latestTime": "آخر تحديث: {{time}}",
277
277
  "noLatestTime": "لم يتم الحصول على القائمة بعد"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "هل أنت متأكد من إعادة تعيين جميع التعديلات على النموذج الحالي؟ بعد إعادة التعيين، ستعود قائمة النماذج الحالية إلى الحالة الافتراضية",
281
+ "success": "تمت إعادة التعيين بنجاح",
282
+ "title": "إعادة تعيين جميع التعديلات"
283
+ },
279
284
  "search": "ابحث عن نموذج...",
280
285
  "searchResult": "تم العثور على {{count}} نموذج",
281
286
  "title": "قائمة النماذج",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Последно обновление: {{time}}",
277
277
  "noLatestTime": "Все още не е получен списък"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Потвърдете ли, че искате да нулирате всички промени в текущия модел? След нулирането списъкът с текущи модели ще се върне в първоначалното си състояние",
281
+ "success": "Успешно нулирано",
282
+ "title": "Нулиране на всички промени"
283
+ },
279
284
  "search": "Търсене на модели...",
280
285
  "searchResult": "Намерени са {{count}} модела",
281
286
  "title": "Списък с модели",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Letzte Aktualisierung: {{time}}",
277
277
  "noLatestTime": "Liste wurde noch nicht abgerufen"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Möchten Sie alle Änderungen am aktuellen Modell wirklich zurücksetzen? Nach dem Zurücksetzen wird die aktuelle Modellliste auf den Standardzustand zurückgesetzt.",
281
+ "success": "Zurücksetzen erfolgreich",
282
+ "title": "Alle Änderungen zurücksetzen"
283
+ },
279
284
  "search": "Modelle suchen...",
280
285
  "searchResult": "{{count}} Modelle gefunden",
281
286
  "title": "Modellliste",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Last updated: {{time}}",
277
277
  "noLatestTime": "Model list not yet fetched"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Are you sure you want to reset all modifications to the current model? After resetting, the current model list will return to its default state.",
281
+ "success": "Reset successful",
282
+ "title": "Reset All Modifications"
283
+ },
279
284
  "search": "Search Models...",
280
285
  "searchResult": "{{count}} models found",
281
286
  "title": "Model List",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Última actualización: {{time}}",
277
277
  "noLatestTime": "Lista aún no obtenida"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "¿Confirmar el restablecimiento de todas las modificaciones del modelo actual? Después del restablecimiento, la lista de modelos actuales volverá al estado predeterminado",
281
+ "success": "Restablecimiento exitoso",
282
+ "title": "Restablecer todas las modificaciones"
283
+ },
279
284
  "search": "Buscar modelos...",
280
285
  "searchResult": "Se encontraron {{count}} modelos",
281
286
  "title": "Lista de modelos",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "آخرین زمان به‌روزرسانی: {{time}}",
277
277
  "noLatestTime": "لیست هنوز دریافت نشده است"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "آیا مطمئن هستید که می‌خواهید تمام تغییرات مدل فعلی را بازنشانی کنید؟ پس از بازنشانی، لیست مدل‌های فعلی به حالت پیش‌فرض باز خواهد گشت",
281
+ "success": "بازنشانی با موفقیت انجام شد",
282
+ "title": "بازنشانی تمام تغییرات"
283
+ },
279
284
  "search": "جستجوی مدل...",
280
285
  "searchResult": "{{count}} مدل پیدا شد",
281
286
  "title": "لیست مدل‌ها",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Dernière mise à jour : {{time}}",
277
277
  "noLatestTime": "Aucune liste récupérée pour le moment"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Êtes-vous sûr de vouloir réinitialiser toutes les modifications du modèle actuel ? Après la réinitialisation, la liste des modèles actuels reviendra à l'état par défaut",
281
+ "success": "Réinitialisation réussie",
282
+ "title": "Réinitialiser toutes les modifications"
283
+ },
279
284
  "search": "Rechercher des modèles...",
280
285
  "searchResult": "Trouvé {{count}} modèle(s)",
281
286
  "title": "Liste des modèles",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Ultimo aggiornamento: {{time}}",
277
277
  "noLatestTime": "Nessun elenco recuperato finora"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Sei sicuro di voler ripristinare tutte le modifiche al modello corrente? Dopo il ripristino, l'elenco dei modelli correnti tornerà allo stato predefinito",
281
+ "success": "Ripristino avvenuto con successo",
282
+ "title": "Ripristina tutte le modifiche"
283
+ },
279
284
  "search": "Cerca modelli...",
280
285
  "searchResult": "Trovati {{count}} modelli",
281
286
  "title": "Elenco dei modelli",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "最終更新日時:{{time}}",
277
277
  "noLatestTime": "まだリストを取得していません"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "現在のモデルのすべての変更をリセットしてもよろしいですか?リセット後、現在のモデルリストはデフォルトの状態に戻ります",
281
+ "success": "リセットに成功しました",
282
+ "title": "すべての変更をリセット"
283
+ },
279
284
  "search": "モデルを検索...",
280
285
  "searchResult": "{{count}} 個のモデルが見つかりました",
281
286
  "title": "モデルリスト",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "마지막 업데이트 시간: {{time}}",
277
277
  "noLatestTime": "아직 목록을 가져오지 않았습니다."
278
278
  },
279
+ "resetAll": {
280
+ "conform": "현재 모델의 모든 수정을 초기화하시겠습니까? 초기화 후 현재 모델 목록은 기본 상태로 돌아갑니다.",
281
+ "success": "초기화 성공",
282
+ "title": "모든 수정 초기화"
283
+ },
279
284
  "search": "모델 검색...",
280
285
  "searchResult": "{{count}} 개의 모델이 검색되었습니다",
281
286
  "title": "모델 목록",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Laatste update tijd: {{time}}",
277
277
  "noLatestTime": "Lijst nog niet opgehaald"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Weet je zeker dat je alle wijzigingen van het huidige model wilt resetten? Na de reset zal de huidige modellenlijst terugkeren naar de standaardstatus",
281
+ "success": "Resetten geslaagd",
282
+ "title": "Reset alle wijzigingen"
283
+ },
279
284
  "search": "Zoek modellen...",
280
285
  "searchResult": "Gevonden {{count}} modellen",
281
286
  "title": "Modellenlijst",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Ostatnia aktualizacja: {{time}}",
277
277
  "noLatestTime": "Lista nie została jeszcze pobrana"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Czy na pewno chcesz zresetować wszystkie zmiany w bieżącym modelu? Po zresetowaniu lista modeli wróci do stanu domyślnego",
281
+ "success": "Resetowanie zakończone sukcesem",
282
+ "title": "Zresetuj wszystkie zmiany"
283
+ },
279
284
  "search": "Szukaj modeli...",
280
285
  "searchResult": "Znaleziono {{count}} modeli",
281
286
  "title": "Lista modeli",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Última atualização: {{time}}",
277
277
  "noLatestTime": "Lista ainda não obtida"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Você tem certeza de que deseja redefinir todas as modificações do modelo atual? Após a redefinição, a lista de modelos atuais voltará ao estado padrão",
281
+ "success": "Redefinição bem-sucedida",
282
+ "title": "Redefinir todas as modificações"
283
+ },
279
284
  "search": "Pesquisar modelos...",
280
285
  "searchResult": "Encontrados {{count}} modelos",
281
286
  "title": "Lista de Modelos",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Последнее обновление: {{time}}",
277
277
  "noLatestTime": "Список еще не получен"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Вы уверены, что хотите сбросить все изменения текущей модели? После сброса список текущих моделей вернется к состоянию по умолчанию",
281
+ "success": "Сброс выполнен успешно",
282
+ "title": "Сбросить все изменения"
283
+ },
279
284
  "search": "Поиск моделей...",
280
285
  "searchResult": "Найдено {{count}} моделей",
281
286
  "title": "Список моделей",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Son güncelleme zamanı: {{time}}",
277
277
  "noLatestTime": "Henüz liste alınmadı"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Mevcut modelin tüm değişikliklerini sıfırlamak istediğinize emin misiniz? Sıfırladıktan sonra mevcut model listesi varsayılan duruma dönecektir.",
281
+ "success": "Sıfırlama başarılı",
282
+ "title": "Tüm değişiklikleri sıfırla"
283
+ },
279
284
  "search": "Model ara...",
280
285
  "searchResult": "{{count}} model bulundu",
281
286
  "title": "Model Listesi",
@@ -276,6 +276,11 @@
276
276
  "latestTime": "Thời gian cập nhật lần cuối: {{time}}",
277
277
  "noLatestTime": "Chưa lấy danh sách"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "Xác nhận việc đặt lại tất cả các thay đổi của mô hình hiện tại? Sau khi đặt lại, danh sách mô hình hiện tại sẽ trở về trạng thái mặc định",
281
+ "success": "Đặt lại thành công",
282
+ "title": "Đặt lại tất cả các thay đổi"
283
+ },
279
284
  "search": "Tìm kiếm mô hình...",
280
285
  "searchResult": "Tìm thấy {{count}} mô hình",
281
286
  "title": "Danh sách mô hình",
@@ -84,4 +84,4 @@
84
84
  "security": "安全",
85
85
  "stats": "数据统计"
86
86
  }
87
- }
87
+ }
@@ -15,4 +15,4 @@
15
15
  "title": "更新日志",
16
16
  "versionDetails": "版本详情",
17
17
  "welcomeBack": "欢迎回来!"
18
- }
18
+ }
@@ -181,4 +181,4 @@
181
181
  }
182
182
  },
183
183
  "zenMode": "专注模式"
184
- }
184
+ }
@@ -766,4 +766,4 @@
766
766
  "title": "添加 Web3 钱包"
767
767
  }
768
768
  }
769
- }
769
+ }
@@ -301,4 +301,4 @@
301
301
  "usages": "用量统计"
302
302
  },
303
303
  "version": "版本"
304
- }
304
+ }
@@ -115,4 +115,4 @@
115
115
  "thought": "已深度思考(用时 {{duration}} 秒)",
116
116
  "thoughtWithDuration": "已深度思考"
117
117
  }
118
- }
118
+ }
@@ -205,4 +205,4 @@
205
205
  "plugins": "插件",
206
206
  "providers": "模型服务商"
207
207
  }
208
- }
208
+ }
@@ -139,4 +139,4 @@
139
139
  "unknownError": "错误原因: {{reason}}",
140
140
  "uploadFailed": "文件上传失败"
141
141
  }
142
- }
142
+ }
@@ -91,4 +91,4 @@
91
91
  "uploading": "正在上传"
92
92
  }
93
93
  }
94
- }
94
+ }
@@ -29,4 +29,4 @@
29
29
  "testing": "召回测试"
30
30
  },
31
31
  "title": "知识库"
32
- }
32
+ }
@@ -36,4 +36,4 @@
36
36
  "description": "{{appName}} 带给你最好的 ChatGPT, Claude , Gemini, OLLaMA WebUI 使用体验",
37
37
  "title": "欢迎使用 {{appName}}:个人 AI 效能工具,给自己一个更聪明的大脑"
38
38
  }
39
- }
39
+ }
@@ -42,4 +42,4 @@
42
42
  "missVersion": "导入数据缺少版本号,请检查文件后重试",
43
43
  "noMigration": "没有找到当前版本对应的迁移方案,请检查版本号后重试。如仍有问题请提交问题反馈"
44
44
  }
45
- }
45
+ }
@@ -276,6 +276,11 @@
276
276
  "latestTime": "上次更新时间:{{time}}",
277
277
  "noLatestTime": "暂未获取列表"
278
278
  },
279
+ "resetAll": {
280
+ "conform": "确认重置当前模型的所有修改?重置后当前模型列表将会回到默认状态",
281
+ "success": "重置成功",
282
+ "title": "重置所有修改"
283
+ },
279
284
  "search": "搜索模型...",
280
285
  "searchResult": "搜索到 {{count}} 个模型",
281
286
  "title": "模型列表",
@@ -300,4 +305,4 @@
300
305
  "zhipu": {
301
306
  "title": "智谱"
302
307
  }
303
- }
308
+ }