@lobehub/chat 0.148.6 → 0.148.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.148.8](https://github.com/lobehub/lobe-chat/compare/v0.148.7...v0.148.8)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-04-23**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: update some `gemini` deployment restrictions.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: update some `gemini` deployment restrictions, closes [#2149](https://github.com/lobehub/lobe-chat/issues/2149) ([6d36863](https://github.com/lobehub/lobe-chat/commit/6d36863))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.148.7](https://github.com/lobehub/lobe-chat/compare/v0.148.6...v0.148.7)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-04-23**</sup>
|
|
33
|
+
|
|
34
|
+
#### 🐛 Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **misc**: Fix qwen-1.5-chat-72B context window in togetherai.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's fixed
|
|
44
|
+
|
|
45
|
+
- **misc**: Fix qwen-1.5-chat-72B context window in togetherai, closes [#2142](https://github.com/lobehub/lobe-chat/issues/2142) ([d0753cf](https://github.com/lobehub/lobe-chat/commit/d0753cf))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.148.6](https://github.com/lobehub/lobe-chat/compare/v0.148.5...v0.148.6)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-04-22**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.148.
|
|
3
|
+
"version": "0.148.8",
|
|
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,7 +15,8 @@ describe('Configuration tests', () => {
|
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
it('should contain specific regions in preferredRegion', () => {
|
|
18
|
-
expect(preferredRegion).not.contain(['
|
|
18
|
+
expect(preferredRegion).not.contain(['hkg1']);
|
|
19
|
+
expect(preferredRegion).not.contain(['dub1']);
|
|
19
20
|
});
|
|
20
21
|
});
|
|
21
22
|
|
|
@@ -13,7 +13,25 @@ import { POST as UniverseRoute } from '../[provider]/route';
|
|
|
13
13
|
// so if you want to use with proxy, you need comment the code below
|
|
14
14
|
export const runtime = 'edge';
|
|
15
15
|
|
|
16
|
-
// due to
|
|
17
|
-
|
|
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
|
+
// 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
36
|
|
|
19
37
|
export const POST = async (req: Request) => UniverseRoute(req, { params: { provider: 'google' } });
|