@lobehub/chat 1.53.1 → 1.53.2
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/README.ja-JP.md +2 -2
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/README.zh-TW.md +2 -2
- package/changelog/v1.json +9 -0
- package/contributing/Others/Lighthouse.md +13 -40
- package/contributing/Others/Lighthouse.zh-CN.md +12 -41
- package/package.json +1 -1
- package/src/config/modelProviders/openrouter.ts +16 -11
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.53.2](https://github.com/lobehub/lobe-chat/compare/v1.53.1...v1.53.2)
|
6
|
+
|
7
|
+
<sup>Released on **2025-02-12**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Disable openrouter client fetch.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Disable openrouter client fetch, closes [#6043](https://github.com/lobehub/lobe-chat/issues/6043) ([63b22ce](https://github.com/lobehub/lobe-chat/commit/63b22ce))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.53.1](https://github.com/lobehub/lobe-chat/compare/v1.53.0...v1.53.1)
|
6
31
|
|
7
32
|
<sup>Released on **2025-02-12**</sup>
|
package/README.ja-JP.md
CHANGED
@@ -711,9 +711,9 @@ This project is [Apache 2.0](./LICENSE) licensed.
|
|
711
711
|
[blog]: https://lobehub.com/blog
|
712
712
|
[changelog]: https://lobehub.com/changelog
|
713
713
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
714
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
714
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
715
715
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
716
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
716
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
717
717
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
718
718
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
719
719
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
package/README.md
CHANGED
@@ -728,9 +728,9 @@ This project is [Apache 2.0](./LICENSE) licensed.
|
|
728
728
|
[blog]: https://lobehub.com/blog
|
729
729
|
[changelog]: https://lobehub.com/changelog
|
730
730
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
731
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
731
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
732
732
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
733
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
733
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
734
734
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
735
735
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
736
736
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
package/README.zh-CN.md
CHANGED
@@ -750,9 +750,9 @@ This project is [Apache 2.0](./LICENSE) licensed.
|
|
750
750
|
[blog]: https://lobehub.com/zh/blog
|
751
751
|
[changelog]: https://lobehub.com/changelog
|
752
752
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
753
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
753
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
754
754
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
755
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
755
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
756
756
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
757
757
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
758
758
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
package/README.zh-TW.md
CHANGED
@@ -755,9 +755,9 @@ This project is [Apache 2.0](./LICENSE) licensed.
|
|
755
755
|
[blog]: https://lobehub.com/zh/blog
|
756
756
|
[changelog]: https://lobehub.com/changelog
|
757
757
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
758
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
758
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
759
759
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
760
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
760
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
761
761
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
762
762
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
763
763
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
package/changelog/v1.json
CHANGED
@@ -2,64 +2,37 @@
|
|
2
2
|
|
3
3
|
#### TOC
|
4
4
|
|
5
|
-
- [Welcome Page](#welcome-page)
|
6
5
|
- [Chat Page](#chat-page)
|
7
|
-
- [
|
8
|
-
- [Settings Page](#settings-page)
|
9
|
-
|
10
|
-
## Welcome Page
|
11
|
-
|
12
|
-
> **Info**\
|
13
|
-
> <https://chat-preview.lobehub.com/welcome>
|
14
|
-
|
15
|
-
| Desktop | Mobile |
|
16
|
-
| :---------------------------------------------: | :--------------------------------------------: |
|
17
|
-
| ![][welcome-desktop] | ![][welcome-mobile] |
|
18
|
-
| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] |
|
6
|
+
- [Discover Page](#discover-page)
|
19
7
|
|
20
8
|
## Chat Page
|
21
9
|
|
22
10
|
> **Info**\
|
23
|
-
> <https://
|
11
|
+
> <https://lobechat.com/chat>
|
24
12
|
|
25
13
|
| Desktop | Mobile |
|
26
14
|
| :------------------------------------------: | :-----------------------------------------: |
|
27
15
|
| ![][chat-desktop] | ![][chat-mobile] |
|
28
16
|
| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] |
|
29
17
|
|
30
|
-
|
18
|
+
|
19
|
+
## Discover Page
|
31
20
|
|
32
21
|
> **Info**\
|
33
|
-
> <https://
|
22
|
+
> <https://lobechat.com/discover>
|
34
23
|
|
35
24
|
| Desktop | Mobile |
|
36
25
|
| :--------------------------------------------: | :-------------------------------------------: |
|
37
|
-
| ![][
|
38
|
-
| [⚡️ Lighthouse Report][
|
39
|
-
|
40
|
-
## Settings Page
|
26
|
+
| ![][discover-desktop] | ![][discover-mobile] |
|
27
|
+
| [⚡️ Lighthouse Report][discover-desktop-report] | [⚡️ Lighthouse Report][discover-mobile-report] |
|
41
28
|
|
42
|
-
> **Info**\
|
43
|
-
> <https://chat-preview.lobehub.com/settings>
|
44
29
|
|
45
|
-
| Desktop | Mobile |
|
46
|
-
| :----------------------------------------------: | :---------------------------------------------: |
|
47
|
-
| ![][settings-desktop] | ![][settings-mobile] |
|
48
|
-
| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] |
|
49
30
|
|
50
31
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
51
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
32
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
52
33
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
53
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
54
|
-
[
|
55
|
-
[
|
56
|
-
[
|
57
|
-
[
|
58
|
-
[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg
|
59
|
-
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_preview_lobehub_com_settings.html
|
60
|
-
[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg
|
61
|
-
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_preview_lobehub_com_settings.html
|
62
|
-
[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg
|
63
|
-
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_preview_lobehub_com_welcome.html
|
64
|
-
[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg
|
65
|
-
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_preview_lobehub_com_welcome.html
|
34
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
35
|
+
[discover-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/desktop/pagespeed.svg
|
36
|
+
[discover-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/desktop/lobechat_com_discover.html
|
37
|
+
[discover-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/mobile/pagespeed.svg
|
38
|
+
[discover-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/mobile/lobechat_com_discover.html
|
@@ -2,64 +2,35 @@
|
|
2
2
|
|
3
3
|
#### TOC
|
4
4
|
|
5
|
-
- [Welcome 欢迎页面](#welcome-欢迎页面)
|
6
5
|
- [Chat 聊天页面](#chat-聊天页面)
|
7
|
-
- [
|
8
|
-
- [Settings 设置页面](#settings-设置页面)
|
9
|
-
|
10
|
-
## Welcome 欢迎页面
|
11
|
-
|
12
|
-
> **Info**\
|
13
|
-
> <https://chat-preview.lobehub.com/welcome>
|
14
|
-
|
15
|
-
| Desktop | Mobile |
|
16
|
-
| :---------------------------------------------: | :--------------------------------------------: |
|
17
|
-
| ![][welcome-desktop] | ![][welcome-mobile] |
|
18
|
-
| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] |
|
6
|
+
- [Discover 市场页面](#discover-市场页面)
|
19
7
|
|
20
8
|
## Chat 聊天页面
|
21
9
|
|
22
10
|
> **Info**\
|
23
|
-
> <https://
|
11
|
+
> <https://lobechat.com/chat>
|
24
12
|
|
25
13
|
| Desktop | Mobile |
|
26
14
|
| :------------------------------------------: | :-----------------------------------------: |
|
27
15
|
| ![][chat-desktop] | ![][chat-mobile] |
|
28
16
|
| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] |
|
29
17
|
|
30
|
-
##
|
18
|
+
## Discover 发现页面
|
31
19
|
|
32
20
|
> **Info**\
|
33
|
-
> <https://
|
21
|
+
> <https://lobechat.com/discover>
|
34
22
|
|
35
23
|
| Desktop | Mobile |
|
36
24
|
| :--------------------------------------------: | :-------------------------------------------: |
|
37
|
-
| ![][
|
38
|
-
| [⚡️ Lighthouse Report][
|
39
|
-
|
40
|
-
## Settings 设置页面
|
41
|
-
|
42
|
-
> **Info**\
|
43
|
-
> <https://chat-preview.lobehub.com/settings>
|
25
|
+
| ![][discover-desktop] | ![][discover-mobile] |
|
26
|
+
| [⚡️ Lighthouse Report][discover-desktop-report] | [⚡️ Lighthouse Report][discover-mobile-report] |
|
44
27
|
|
45
|
-
| Desktop | Mobile |
|
46
|
-
| :----------------------------------------------: | :---------------------------------------------: |
|
47
|
-
| ![][settings-desktop] | ![][settings-mobile] |
|
48
|
-
| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] |
|
49
28
|
|
50
29
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
51
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
30
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
|
52
31
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
53
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
54
|
-
[
|
55
|
-
[
|
56
|
-
[
|
57
|
-
[
|
58
|
-
[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg
|
59
|
-
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_preview_lobehub_com_settings.html
|
60
|
-
[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg
|
61
|
-
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_preview_lobehub_com_settings.html
|
62
|
-
[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg
|
63
|
-
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_preview_lobehub_com_welcome.html
|
64
|
-
[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg
|
65
|
-
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_preview_lobehub_com_welcome.html
|
32
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
|
33
|
+
[discover-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/desktop/pagespeed.svg
|
34
|
+
[discover-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/desktop/lobechat_com_discover.html
|
35
|
+
[discover-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/mobile/pagespeed.svg
|
36
|
+
[discover-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/mobile/lobechat_com_discover.html
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.53.
|
3
|
+
"version": "1.53.2",
|
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",
|
@@ -172,19 +172,20 @@ const OpenRouter: ModelProviderCard = {
|
|
172
172
|
},
|
173
173
|
{
|
174
174
|
contextWindowTokens: 1_048_576 + 8192,
|
175
|
-
description:
|
176
|
-
|
175
|
+
description:
|
176
|
+
'Gemini 2.0 Flash 提供下一代功能和改进,包括卓越的速度、原生工具使用、多模态生成和1M令牌上下文窗口。',
|
177
|
+
displayName: 'Gemini 2.0 Flash',
|
177
178
|
enabled: true,
|
178
179
|
functionCall: true,
|
179
|
-
id:
|
180
|
+
id: 'google/gemini-2.0-flash-001',
|
180
181
|
maxOutput: 8192,
|
181
182
|
pricing: {
|
182
183
|
cachedInput: 0.025,
|
183
184
|
input: 0.1,
|
184
|
-
output: 0.4
|
185
|
+
output: 0.4,
|
185
186
|
},
|
186
|
-
releasedAt:
|
187
|
-
vision: true
|
187
|
+
releasedAt: '2025-02-05',
|
188
|
+
vision: true,
|
188
189
|
},
|
189
190
|
{
|
190
191
|
contextWindowTokens: 2_000_000 + 8192,
|
@@ -298,14 +299,15 @@ const OpenRouter: ModelProviderCard = {
|
|
298
299
|
},
|
299
300
|
{
|
300
301
|
contextWindowTokens: 2_097_152 + 8192,
|
301
|
-
description:
|
302
|
-
|
302
|
+
description:
|
303
|
+
'Gemini 2.0 Pro Experimental 是 Google 最新的实验性多模态AI模型,与历史版本相比有一定的质量提升,特别是对于世界知识、代码和长上下文。',
|
304
|
+
displayName: 'Gemini 2.0 Pro Experimental 02-05 (Free)',
|
303
305
|
enabled: true,
|
304
306
|
functionCall: true,
|
305
|
-
id:
|
307
|
+
id: 'google/gemini-2.0-pro-exp-02-05:free',
|
306
308
|
maxOutput: 8192,
|
307
|
-
releasedAt:
|
308
|
-
vision: true
|
309
|
+
releasedAt: '2025-02-05',
|
310
|
+
vision: true,
|
309
311
|
},
|
310
312
|
],
|
311
313
|
checkModel: 'google/gemma-2-9b-it:free',
|
@@ -316,6 +318,9 @@ const OpenRouter: ModelProviderCard = {
|
|
316
318
|
modelsUrl: 'https://openrouter.ai/models',
|
317
319
|
name: 'OpenRouter',
|
318
320
|
settings: {
|
321
|
+
// OpenRouter don't support browser request
|
322
|
+
// https://github.com/lobehub/lobe-chat/issues/5900
|
323
|
+
disableBrowserRequest: true,
|
319
324
|
sdkType: 'openai',
|
320
325
|
showModelFetcher: true,
|
321
326
|
},
|