@lobehub/chat 0.149.2 → 0.149.3
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.
- package/CHANGELOG.md +25 -0
- package/locales/ar/setting.json +1 -0
- package/locales/bg-BG/setting.json +1 -0
- package/locales/de-DE/setting.json +1 -0
- package/locales/en-US/setting.json +1 -0
- package/locales/es-ES/setting.json +1 -0
- package/locales/fr-FR/setting.json +1 -0
- package/locales/it-IT/setting.json +1 -0
- package/locales/ja-JP/setting.json +1 -0
- package/locales/ko-KR/setting.json +1 -0
- package/locales/nl-NL/setting.json +1 -0
- package/locales/pl-PL/setting.json +1 -0
- package/locales/pt-BR/setting.json +1 -0
- package/locales/ru-RU/setting.json +1 -0
- package/locales/tr-TR/setting.json +1 -0
- package/locales/vi-VN/setting.json +1 -0
- package/locales/zh-CN/setting.json +2 -1
- package/locales/zh-TW/setting.json +1 -0
- package/package.json +1 -1
- package/src/app/api/chat/google/route.test.ts +1 -2
- package/src/app/api/chat/google/route.ts +1 -18
- package/src/app/settings/common/Common.tsx +1 -0
- package/src/locales/default/setting.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.149.3](https://github.com/lobehub/lobe-chat/compare/v0.149.2...v0.149.3)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-04-25**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Add displaying the message "Reset Successfully.".
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Add displaying the message "Reset Successfully.", closes [#2158](https://github.com/lobehub/lobe-chat/issues/2158) ([27913ef](https://github.com/lobehub/lobe-chat/commit/27913ef))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.149.2](https://github.com/lobehub/lobe-chat/compare/v0.149.1...v0.149.2)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-04-24**</sup>
|
package/locales/ar/setting.json
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Потвърдете нулирането на всички настройки?",
|
|
23
23
|
"currentVersion": "Текуща версия",
|
|
24
24
|
"desc": "Нулирайте всички настройки до стойностите по подразбиране",
|
|
25
|
+
"success": "Всички настройки са нулирани успешно",
|
|
25
26
|
"title": "Нулиране на всички настройки"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Alle Einstellungen zurücksetzen?",
|
|
23
23
|
"currentVersion": "Aktuelle Version",
|
|
24
24
|
"desc": "Alle Einstellungen auf Standardwerte zurücksetzen",
|
|
25
|
+
"success": "Alle Einstellungen wurden zurückgesetzt",
|
|
25
26
|
"title": "Alle Einstellungen zurücksetzen"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "¿Confirmar el restablecimiento de todas las configuraciones?",
|
|
23
23
|
"currentVersion": "Versión actual",
|
|
24
24
|
"desc": "Restablecer todas las opciones de configuración a sus valores predeterminados",
|
|
25
|
+
"success": "Se han restablecido todas las configuraciones",
|
|
25
26
|
"title": "Restablecer todas las configuraciones"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Confirmer la réinitialisation de tous les paramètres ?",
|
|
23
23
|
"currentVersion": "Version actuelle",
|
|
24
24
|
"desc": "Réinitialiser tous les paramètres aux valeurs par défaut",
|
|
25
|
+
"success": "Toutes les configurations ont été réinitialisées avec succès",
|
|
25
26
|
"title": "Réinitialiser tous les paramètres"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Confermi di ripristinare tutte le impostazioni?",
|
|
23
23
|
"currentVersion": "Versione corrente",
|
|
24
24
|
"desc": "Ripristina tutte le impostazioni ai valori predefiniti",
|
|
25
|
+
"success": "Tutte le impostazioni sono state ripristinate con successo",
|
|
25
26
|
"title": "Ripristina tutte le impostazioni"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Alle instellingen resetten bevestigen?",
|
|
23
23
|
"currentVersion": "Huidige versie",
|
|
24
24
|
"desc": "Alle instellingen worden teruggezet naar de standaardwaarden",
|
|
25
|
+
"success": "Alle instellingen zijn succesvol gereset",
|
|
25
26
|
"title": "Alle instellingen resetten"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Potwierdź zresetowanie wszystkich ustawień?",
|
|
23
23
|
"currentVersion": "Aktualna wersja",
|
|
24
24
|
"desc": "Zresetuj wszystkie ustawienia do wartości domyślnych",
|
|
25
|
+
"success": "Wszystkie ustawienia zostały zresetowane",
|
|
25
26
|
"title": "Zresetuj wszystkie ustawienia"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Confirmar a redefinição de todas as configurações?",
|
|
23
23
|
"currentVersion": "Versão Atual",
|
|
24
24
|
"desc": "Redefinir todas as configurações para os valores padrão",
|
|
25
|
+
"success": "Todas as configurações foram redefinidas com sucesso",
|
|
25
26
|
"title": "Redefinir Todas as Configurações"
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"confirm": "Вы уверены, что хотите сбросить все настройки?",
|
|
23
23
|
"currentVersion": "Текущая версия",
|
|
24
24
|
"desc": "Сброс всех параметров настройки до значений по умолчанию",
|
|
25
|
+
"success": "Все настройки были успешно сброшены",
|
|
25
26
|
"title": "Сброс всех настроек"
|
|
26
27
|
}
|
|
27
28
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.149.
|
|
3
|
+
"version": "0.149.3",
|
|
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",
|
|
@@ -15,8 +15,7 @@ describe('Configuration tests', () => {
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
it('should contain specific regions in preferredRegion', () => {
|
|
18
|
-
expect(preferredRegion).not.contain(['
|
|
19
|
-
expect(preferredRegion).not.contain(['dub1']);
|
|
18
|
+
expect(preferredRegion).not.contain(['hk1']);
|
|
20
19
|
});
|
|
21
20
|
});
|
|
22
21
|
|
|
@@ -15,23 +15,6 @@ export const runtime = 'edge';
|
|
|
15
15
|
|
|
16
16
|
// due to Gemini-1.5-pro is not available in Hong Kong and Ireland, we need to set the preferred region to exclude "Hong Kong" or "Ireland".
|
|
17
17
|
// refs: https://github.com/lobehub/lobe-chat/pull/2149
|
|
18
|
-
export const preferredRegion = [
|
|
19
|
-
'icn1',
|
|
20
|
-
'sin1',
|
|
21
|
-
'hnd1',
|
|
22
|
-
'kix1',
|
|
23
|
-
'bom1',
|
|
24
|
-
'cdg1',
|
|
25
|
-
'lhr1',
|
|
26
|
-
'cpt1',
|
|
27
|
-
'pdx1',
|
|
28
|
-
'arn1',
|
|
29
|
-
'cle1',
|
|
30
|
-
'syd1',
|
|
31
|
-
'iad1',
|
|
32
|
-
'fra1',
|
|
33
|
-
'sfo1',
|
|
34
|
-
'gru1'
|
|
35
|
-
];
|
|
18
|
+
export const preferredRegion = ['cle1', 'iad1', 'pdx1', 'sfo1'];
|
|
36
19
|
|
|
37
20
|
export const POST = async (req: Request) => UniverseRoute(req, { params: { provider: 'google' } });
|